PHP5.6启动失败

PHP编译安装完毕,启动失败,提示

1 [23-Jun-2014 12:27:02] ERROR: failed to open configuration file '/usr/local/php/etc/php-fpm.conf': No such file or directory (2)
2 [23-Jun-2014 12:27:02] ERROR: failed to load configuration file '/usr/local/php/etc/php-fpm.conf'
3 [23-Jun-2014 12:27:02] ERROR: FPM initialization failed

原因:配置文件没有准备好

解决方法:

进入/usr/local/php/etc目录

cp php-fpm.conf.default php-fpm.conf
posted @ 2016-09-26 10:57  陈浩宇人呢  阅读(508)  评论(0编辑  收藏  举报