These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for (Solved) PHP Confugration not reflecting changes to config files. on the new forum.
So, when I print out phpinfo using the phpinfo() function, it says:
Configuration File (php.ini) Path = /etc/php/7.0/cgi/php.ini Loaded Configuration File /home/gentlefox/etc/php7.0/php.ini
And when I apply changes to these files and restart nginx, the changes are not reflected.
wth is going on? :S
EDIT: Of course, it doesn't help restarting nginx when you're running php-cgi. You need to restart the relevant php-cgi services. On ubuntu "sudo service --status-all" shows you the services running. Find the one you need and "stop" then "start" it.