/USR/LOCAL/PHP/SBIN/PHP-FPM--help
- c <path>|<file> look for php.ini file in this directory specifies the php.ini configuration used
-y, --fpm-config <file> Specify alternative path to FastCGI Process Manager config file specifies php-fpm. Conf
- t,--test test FPM configuration and exit Check test php-fpm.conf file and exit
Sample detection configuration file (PHP-FPM)
/usr/local/php/sbin/php-fpm
-t
/usr/local/php/sbin/php-fpm
-c
/usr/local/php/etc/php
.ini -y
/usr/local/php/etc/php-fpm
.conf -t
Start PHP-FPM
/usr/local/php/sbin/php-fpm 不指定的话找默认配置Or specify a configuration file
/usr/local/php/sbin/php-fpm
-c
/usr/local/php/etc/php
.ini -y
/usr/local/php/etc/php-fpm
.conf
#关闭php-FPM
Kill-int ' cat/usr/local/php/var/run/php-fpm.pid ' or Ps-ef|grep php-fpm find the process number
#重启php-FPM
KILL-USR2 ' Cat/usr/local/php/var/run/php-fpm.pid '
PHP-FPM use