安装PHP可能会出现的错误
生活随笔
收集整理的這篇文章主要介紹了
安装PHP可能会出现的错误
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
錯誤1:
configure: error: xml2-config not found. Please check your libxml2 installation.解決:
[root@tpp php-5.3.27]# yum install -y libxml2-devel錯誤2:
configure: error: Cannot find OpenSSL's <evp.h>解決:
錯誤3:
checking for BZip2 in default path... not foundconfigure: error: Please reinstall the BZip2 distribution
解決:
錯誤4:
configure: error: png.h not found.解決:
錯誤5:
configure: error: freetype.h not found解決:
錯誤6:
解決:
錯誤7:
解決:
錯誤8:
解決:
[root@tpp php-5.3.27]# yum install -y libmcrypt-devel ?
因為CentOS默認的yum源沒有libmcrypt-devel包,所以只能借助第三方yum源。
http://www.apelearn.com/bbs/forum.php?mod=viewthread&tid=6721&highlight=epel
轉載于:https://blog.51cto.com/msiyuetian/1688284
總結
以上是生活随笔為你收集整理的安装PHP可能会出现的错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: dl,dt,dd,ul,li,ol区别
- 下一篇: Struts2笔记——初次框架配置