php安装,启动报错,

安装报错:

错误1:
configure: error: xml2-config not found. Please check your libxml2 installation.
解决办法:
yum install -y libxml2-devel
错误2:
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution
解决办法:
yum install -y bzip2-devel
错误3:
configure: error: jpeglib.h not found.
解决办法:
yum install -y libjpeg-turbo-devel
错误4:
configure: error: png.h not found.
解决办法:
yum install -y libpng libpng-devel
错误5:
configure: error: freetype-config not found.
解决办法:
yum install -y freetype freetype-devel
错误6:
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
解决办法:
yum install -y epel-release
yum install -y libmcrypt libmcrypt-devel
错误7
configure: error: xml2-config not found. Please check your libxml2 installation.
解决办法
yum install -y libxml2 libxml2-devel 
错误8
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
解决办法
yum install curl curl-devel

nginx相关问题

错误1
Restarting nginx (via systemctl):  Warning: nginx.service changed on disk. Run ‘systemctl daemon-reload‘ to reload units.
解决办法:
我们可以先用systemctl daemon-reload
再systemctl restart nginx
即可。其他服务出现类似的情况,也可以使用systemctl daemon-reload来解决。

原文地址:http://blog.51cto.com/chenshengsheng/2110220

时间: 2024-07-29 07:22:06

php安装,启动报错,的相关文章

elk中elasticsearch安装启动报错

elasticsearch安装之后.启动报错.elasticsearch版本为5.4.1 下载安装: wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.1.tar.gz tar zxf elasticsearch-5.4.1.tar.gz mv elasticsearch-5.4.1 /usr/local/elasticsearch cd /usr/local/elasticsearch/ ./

docker安装启动报错

安装docker后测试pull个镜像发现报错 [[email protected] ~]# /etc/init.d/docker status Cannot connect to the Docker daemon. Is 'docker -d' running on this host? 报错解决: (1).查看docker状态 [[email protected] ~]# /etc/init.d/docker status docker 已死,但 pid 文件仍存 (2).查看日志文件 /u

jmeter安装启动报错:Not able to find Java executable or version. Please check your Java installation

1.xp安装jmeter后启动,出现下面错误,找了很多方法试了,都没有用: 2.最后找到一个方法解决了[感谢无名大神],在环境变量PATH中添加:%SystemRoot%/system32;%SystemRoot%; 3.可以正常启动了: 'findstr' 不是内部或外部命令,也不是可运行的程序或批处理文件.Not able to find Java executable or version. Please check your Java installation.errorlevel=2请

安装mongodb后启动报错libstdc++

安装mongo后启动报错如下图 显然说是libstdc++.so文件版本的问题,这种一般都是gcc版本太低了 接着查询gcc的版本    strings /usr/lib/libstdc++.so.6 | grep GLIBCXX 接着去找下libstdc++.so新点的版本,一定要根据自己的系统版本去找啊,由于我找错了版本报错系统位数不对 随后下载了一个64位的libstdc++.so.6.0.17的文件,然后软链成libstdc++.so.6 ln -s libstdc++.so.6.0.1

安装Rational Rose启动报错:无法启动此程序,由于计算机中丢失 suite objects.dll。

执行Rational Rose的时候假设出现这种错误,先检查环境变量有没有common的地址,假设没有直接配上就OK:配置例如以下:D:\Program Files\Rational\Common; 我的win7直接使用大写的Common路径没有出现以下资料说的问题:假设有的能够依照以下资料再次改动下: 以下资料来自于网络: 安装完以后提示找不到 suite objects.dll: 经查找,该 dll 存在: 找不到的原因是,安装程序自己主动设置在 Path 中的环境变量有误: 更改例如以下:

源码安装mysql5.6x启动报错:[ERROR] Can&#39;t find messagefile &#39;/data/mysqldata/3306/english/errmsg.sys&#39;

170502 10:43:40 mysqld_safe Starting mysqld daemon with databases from /data/mysqldata/3306/data 2017-05-02 10:43:40 0 [Warning] The syntax '--language/-l' is deprecated and will be removed in a future release. Please use '--lc-messages-dir' instead.

安装Rational Rose启动报错:无法启动此程序,因为计算机中丢失 suite objects.dll。

运行Rational Rose的时候如果出现这样的错误,先检查环境变量有没有common的地址,如果没有直接配上就OK:配置如下:D:\Program Files\Rational\Common; 我的win7直接使用大写的Common路径没有出现下面资料说的问题:如果有的可以按照下面资料再次修改下: 下面资料来自于网络: 安装完以后提示找不到 suite objects.dll: 经查找,该 dll 存在: 找不到的原因是,安装程序自动设置在 Path 中的环境变量有误: 更改如下: 右击我的

mysql5.5 免编译安装及脚本启动报错深入

Mysql安装环境简介: 最近在做MHA.已经安装完毕heartbeat和drbd,现在准备安装Mysql. Mysql安装目录:/opt/mysql Mysql数据目录:/data/mysql 备注:/data目录实际是drbd需要同步到备节点的磁盘分区 [[email protected] src]# df -h Filesystem     Size  Used Avail Use% Mounted on /dev/sda2      9.5G  2.0G  7.1G 22% / tmpf

新安装的MySQL启动报错The server quit without updating PID file

安装的MySQL启动报错The server quit without updating PID file [[email protected] mysql]# service mysqld restart MySQL server PID file could not be found!                  [失败] Starting MySQL.The server quit without updating PID file (/[失败]ysql/l ocalhost.loc