PHP 5.6启动失败failed to open configuration file '/usr/local/php/etc/php-fpm.conf'

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

PHP 5.6启动失败failed to open configuration file '/usr/local/php/etc/php-fpm.conf'

时间: 2024-09-28 16:24:02

PHP 5.6启动失败failed to open configuration file '/usr/local/php/etc/php-fpm.conf'的相关文章

mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable

报错(如下),但是使用mysqld直接启动没有问题. 150718 00:03:38 mysqld_safe Logging to '/var/log/mysqld.log'. 150718 00:03:38 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable. Please cd to the mysql installation directory and restart t

apache2启动失败(Failed to start The Apache HTTP Server.)解决方案

不知道如何启动apache2就启动不来了. 如下图所示: 即使卸载了重新装也是如此 经过测试卸载并清除软件包的配置即可解决 sudo apt-get purge apache2  sudo apt-get install apache2 原文地址:https://www.cnblogs.com/nul1/p/9866127.html

Linux Centos 启动mysql ERROR * The server quit without updating PID file (/usr/local/mysql/data/mysql.pid).

做了一些尝试:比如kill -9 进程id  发现根本就杀不死. 查看ERROR.LOG 2015-12-07 18:50:08 29710 [ERROR] /usr/local/mysql/bin/mysqld: unknown variable 'scripts/mysql_install_db --user=mysql' 第一感觉:百度了下.大部分都是说安装的时候有这个问题:感觉场景不太一样:回到原点继续想: scripts/mysql_install_db --user=mysql --

PHP启动时配置文件显示Loaded Configuration File => (none)

错误示下: php -i | grep Load Loaded Configuration File => (none) libXML Loaded Version => 20901 解决办法: 使用strace去追踪一下: #strace /usr/local/php/bin/php -i 2> /tmp/1.log grep 'php.ini' /tmp/1.log 显示如下信息: open("/usr/local/php-7.0.23/bin/php-cli.ini&qu

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

总结遇到的elasticsearch启动失败的几种情况及解决

1.使用root用户启动失败 在有一次搭建elasticsearch的时候,使用systemctl启动elasticsearch失败,然后在bin目录下面去使用启动脚本启动,发现报错不能用root用户启动,报"Caused by: java.lang.RuntimeException: can not run elasticsearch as root": [[email protected] bin]# ./elasticsearch [2017-12-20T17:01:47,922

Tomcat因项目迁移,启动窗口一闪而过,启动失败的解决办法。

笔者手动部署一个web项目到Tomcat/webapps/目录下,成功运行.后来,项目结束,我把webapps下的姓项目文件夹删除.重启Tomcat时,运行...\apache-tomcat-8.5.41\bin\startup.bat发现启动出窗口(黑色命令行窗口)一闪而过,tomcat启动失败,无法启动. 先可以查看Tomcat本地日志信息, 日志信息的格式: catalina.YYYY-MM-DD.log YYYY-MM-DD 是当天的日期.我的...\apache-tomcat-8.5.

kudu-master服务启动失败

执行service kudu-master start ,  提示启动失败failed. 进入报错日志目录  (cd /var/log/kudu/),看到报错信息(vim kudu-master.ERROR 或 vim kudu-master.FATAL)如下: Log file created at: 2019/10/23 19:04:52Running on machine: cdh01.itcast.cnLog line format: [IWEF]mmdd hh:mm:ss.uuuuuu

MySQL Study之--Mysql启动失败“mysql.host”

MySQL Study之--Mysql启动失败"mysql.host" 系统环境: 操作系统:RedHat EL55 DB Soft:  Mysql 5.6.4-m7 通过源码包安装mysql后,在启动mysqld时出现错误: [[email protected] mysql]# bin/mysqld_safe &[1] 15846[[email protected] mysql]# 150610 17:04:36 mysqld_safe Logging to '/usr/lo