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

2014-06-26 Thread Xavier Sorgel
Im 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 (Im using an EC2 instance that runs apache and elasticsearch on ubuntu) It seems $client = new Elasticsearch\Client() fails when served by

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

2014-06-26 Thread Xavier Sorgel
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: Im looking for some pointers on how to debug my issue: my php scripts works fine when run from the command line