码迷,mamicode.com
首页 > Web开发 > 详细

php安装,启动报错,

时间:2018-05-01 23:57:38      阅读:319      评论:0      收藏:0      [点我收藏+]

标签: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来解决。

php安装,启动报错,

标签:php   安装报错   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!