Linux modify php.ini and reload configuration file command

  
                  

This article uses the centos system as an example.

The general default installation directory for PHP is: /usr/local/php/

We use php-fpm to reload the configuration file (eg php.ini):

/usr/local/php/sbin/php-fpm reload

Note: /usr/local/php/sbin/php-fpm has other parameters, including: start

Copyright © Windows knowledge All Rights Reserved