Question

Where is locate the file "php.ini" ?

Posted October 15, 2013 33.6k views

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers
/etc/php5/apache2

for LAMP.

You will find it here (Ubuntu/Nginx):

/etc/php/7.0/fpm/php.ini

Don’t forget after you edit php.ini you should restart it to activate the changes:

service php7.0-fpm restart
I need change the register globals off to on
Submit an Answer