centos 修改完php.ini 并重启 phpfpm

##查找php.ini路径

php -i|grep php.ini
Loaded Configuration File => /etc/opt/remi/php74/php.ini

##查找fpm名称

systemctl |grep php
php74-php-fpm.service                                                                                 loaded active running   The PHP FastCGI Process Manager
systemctl  restart php74-php-fpm

只要知道是centos 系统 就能完整的找到重启的路径

你可能感兴趣的:(php,centos,服务器)