执行命令时:
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
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
中有一个配置文件,我删除了该文件以确保不是罪魁祸首。仍无济于事。
有什么东西我不见了吗?
答案 0 :(得分:1)
# php5-fpm -y /etc/php5/fpm/php-fpm.conf
尝试运行它。它将在前台启动,并可能为您提供额外的数据