I am trying to use the AWS SDK for PHP 2 to create a file on S3.
Installing via Phar:
I added the following line to "/etc/php5/conf.d/suhosin.ini":
suhosin.executor.include.whitelist = phar
I restarted apache and the aws.phar include worked as intended. However, without changing anything, on further attempts it seems like the server doesn't send a response and Chrome displays the "no data received" error.
Everytime I restart apache it returns a response, but not on subsequent loads.
Any idea what could be causing this?
Using Laravel, PHP 5.3.2 and Ubuntu.
UPDATE The same thing seems happens with or without the suhosin.ini edit.
Even when the server doesn't return a response to the web browser, the code seems to run properly because it creates a file on S3.