配置PHP解析环境时,启动php服务报错
具体报错信息
[11-Jul-2021 06:43:00] ERROR: unable to bind listening socket for address ‘192.168.206.188:9000’: Address already in use (98) [11-Jul-2021 06:43:00] ERROR: FPM initialization failed
代码如下
[root@localhost php-fpm.d]# /usr/local/php/sbin/php-fpm -c /usr/local/php
[11-Jul-2021 06:43:00] ERROR: unable to bind listening socket for address '192.168.206.188:9000': Address already in use (98)
[11-Jul-2021 06:43:00] ERROR: FPM initialization failed
查看百度解决方法 解决方法:杀死php-fpm进程
[root@localhost php-fpm.d]# killall php-fpm
[root@localhost php-fpm.d]# /usr/local/php/sbin/php-fpm -c /usr/local/php
[root@localhost etc]# netstat -antp | grep 9000
tcp 0 0 192.168.206.188:9000 0.0.0.0:* LISTEN 23147/php-fpm: mast
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 12155/php-fpm: mast
|