新的 php5-fpm 安装无法启动


Fresh php5-fpm installation unable to start

执行命令时:

root@localhost:/# start php5-fpm
php5-fpm start/running, process 21234
root@localhost:/# status php5-fpm
php5-fpm stop/waiting
root@localhost:/# tail /var/log/php5-fpm.log
[...] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
[...] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
[...] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
[...] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
[...] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful

当我启动php5-fpm时,它看起来不错。 我检查状态,它停止了。 我检查了错误日志,唯一出现的是 php5-fpm 测试 .conf 文件的结果。 它不显示任何错误。

我的/etc/php5/fpm/php-fpm.conf如下:

[global]
pid = /var/run/php5-fpm.pid
error_log = /var/log/php5-fpm.log
log_level = error
include=/etc/php5/fpm/pool.d/*.conf

我在pool.d中有一个 conf 文件,我删除了该文件以确保这不是罪魁祸首。 还是无济于事。

我错过了什么吗?

# php5-fpm -y /etc/php5/fpm/php-fpm.conf尝试运行它。它将在前台启动它,并可能为您提供其他数据