Skip to content

How to modify php.ini

Daniel Speichert edited this page Nov 7, 2016 · 2 revisions

In case you want to modify some settings in php.ini, you can find them in /etc/php7.0/fpm/php.ini.

You can edit the file using nano or any other editor by typing either:

sudo nano /etc/php7.0/fpm/php.ini

or

sudo mcedit /etc/php7.0/fpm/php.ini

Then to apply changes, you want to restart php7.0-fpm:

sudo systemctl restart php7.0-fpm