Lnmp modify php. the ini configuration needs to be modified in the lnmp system. ini configuration, first use the find command to find the php. location of ini: find-namephp.ini search result: usrlocalphpetcphp. ini then run the VI command to modify: viusrlocalphpetcphp. after ini is modified, it takes effect only after restart. here the restart is not to restart Lnmp to modify php. ini configuration
To modify the php. ini configuration in the lnmp system, run the find command to find the location of php. ini:
Find/-name php. ini
The search result is as follows:
Usr/local/php/etc/php. ini
Then run the VI command to modify:
Vi/usr/local/php/etc/php. ini
The modification takes effect only after restart. here the restart is not to restart nginx-be sure to pay attention.
If your lnmp is installed with php-cgi, restart php-cgi. if it is installed with php-fpm, restart php-fpm.