php7-fpm 无法在 CentOS 上启动
php7-fpm doesn't start on CentOS
我已经在 CentOS 7.2 上安装了 php7.0.8 (zts)。
我尝试启动 php-fpm,使用:/etc/init.d/php7-fpm start
或
/etc/init.d/php7-fpm: ligne33: /lib/init/vars.sh: No files or folders of this type
netstat -lntp
: 没有 php7-fpm 运行 端口。
如何解决这个错误?
第一个你应该在 centos6+ 中通过 systemctl 启动或重新启动你的服务然后请休假这个 link 来帮助你。
我已经在 CentOS 7.2 上安装了 php7.0.8 (zts)。
我尝试启动 php-fpm,使用:/etc/init.d/php7-fpm start
或
/etc/init.d/php7-fpm: ligne33: /lib/init/vars.sh: No files or folders of this type
netstat -lntp
: 没有 php7-fpm 运行 端口。
如何解决这个错误?
第一个你应该在 centos6+ 中通过 systemctl 启动或重新启动你的服务然后请休假这个 link 来帮助你。