linux php重启 | 您所在的位置:网站首页 › centos70重启PHP服务 › linux php重启 |
1.停止命令
你可以先查看自己的php进程有没有启动 ps -ef | grep php [root@iZ6we4yxap93y2r0clg3g8Z ~]# ps -ef | grep php root 1000793 1 0 5月19 ? 00:00:11 php-fpm: master process (/usr/local/php/etc/php-fpm.conf) root 1000794 1000793 0 5月19 ? 00:00:01 php-fpm: pool www root 1000795 1000793 0 5月19 ? 00:00:01 php-fpm: pool www root 1000912 1000793 0 5月19 ? 00:00:01 php-fpm: pool www root 1141686 1141641 0 14:53 pts/1 00:00:00 grep --color=auto phppkill php-fpm 2.找到php-fpm 然后重启或启动命令![]() ./php-fpm -R 重启php-fpm 3.查看php是否启动ps -ef | grep php ![]() 或者 ps -A | grep -i php
|
CopyRight 2018-2019 实验室设备网 版权所有 |