ifconfig |grep inet
1、查看php-fpm端口使用情况 sudo lsof -i:9000 2、修改php.ini文件使其生效,需要重启php-fpm,关闭php-fpm命令 sudo killall php-fpm 3、启动php-fpm sudo php-fpm