It may be that the php-fpm didn't restart? http://stackoverflow.com/questions/19453525/reloading-nginx-php5-fpm-does-not-update-changes-to-php-ini
Jan 29, 2016
3
Level 1
mailgun failing because allow_url_fopen off, but can't turn it on!
I'm having some trouble getting mailgun to work. It seems guzzle is failing, and it's because allow_url_fopen is not enabled. But the odd thing is that it is enabled in php.ini
I'm using PHP Version 5.6.17-3+deb.sury.org~trusty+1 (I just upgraded it from 5.5 hoping to fix the problem, but it didn't help).
The first line in phpinfo clearly says what php.ini I'm using - Loaded Configuration File /etc/php5/fpm/php.ini, here are the relevant lines
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen = On
I've restarted nginx just in case it needed a restart. But after all that, when I run phpinfo, I still see it's off
Directive Local Value Master Value
allow_url_fopen Off Off
What am I doing wrong?
Please or to participate in this conversation.