今天在启动PHP时出现下面的错误:
[root@www ~]# service php-fpm start
错误:
Starting php-fpm [09-Aug-2016 11:25:40] ERROR: unable to bind listening socket for address ‘127.0.0.1:9000‘: Address
already in use (98)
[09-Aug-2016 11:25:40] ERROR: FPM initialization failed
failed
解决方法:
[root@www ~]# netstat -lntup | grep 9000 //查看9000的端口
[root@www ~]# killall php-fpm 杀死php-fpm
[root@www ~]# service php-fpm start
Starting php-fpm done 启动成功
网友评论