Elastic+PHP SDK issue - script not working when served by apache but works fine in cmd line (ubuntu on EC2 instance)

I"m looking for some pointers on how to debug my issue: my php scripts
works fine when run from the command line but somehow crashes when served
by apache (I"m using an EC2 instance that runs apache and elasticsearch on
ubuntu)

It seems $client = new Elasticsearch\Client() fails when served by apache
but call work fine when script is executed from cmd line. I thought my
security settings in EC2 may be incomplete but I have All traffic/All
protocol enabled for all outbound traffic...

Any idea what I'm missing? thanks!

X

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/45f996da-b591-4b46-ac8f-0d92ebe6dfac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

oh well - curl was not installed it seems. I installed curl, restarted
apache and now everything works fine...

X
On Thursday, June 26, 2014 10:16:21 AM UTC-7, Xavier Sorgel wrote:

I"m looking for some pointers on how to debug my issue: my php scripts
works fine when run from the command line but somehow crashes when served
by apache (I"m using an EC2 instance that runs apache and elasticsearch on
ubuntu)

It seems $client = new Elasticsearch\Client() fails when served by apache
but call work fine when script is executed from cmd line. I thought my
security settings in EC2 may be incomplete but I have All traffic/All
protocol enabled for all outbound traffic...

Any idea what I'm missing? thanks!

X

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9db2ce45-0f81-47c6-ad5a-be39bd576ea0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.