I had a similar problem with php-fpm and nginx server. The problem was that the updated php configuration was not reflected in the current active php-fpm workflows. I need to manually kill the fpm process and restart it again to update the extension information.
The steps that worked for me:
1) Look for the active php-fpm process
ps ax | grep "fpm"
This will mainly result in multiple processes being displayed.
2) manual destruction process
kill -9 [pid_got_from_previous_command]
3) restart php-fpm process
sudo service php5-fpm start
Note. Trying to do something like sudo service php-fpm reload or sudo service php-fpm restart did not work, as the old child processes kept the previous configuration. Killing active processes and restarting php fpm, which updated phpinfo for me.
source share