安装PHP会出现的错误

WBOY
發布: 2016-06-20 12:49:55
原創
1044 人瀏覽過


错误1:configure: error: xml2-config not found. Please check your libxml2 installation.

解决:yum install -y libxml2-devel


错误2:configure: error: Cannot find OpenSSL's

解决:yum install -y openssl openssl-devel


错误3:checking for BZip2 in default path... not found
   configure: error: Please reinstall the BZip2 distribution

解决:yum install -y bzip2 bzip2-devel


错误4:configure: error: png.h not found.

解决:yum install -y libpng libpng-devel


错误5:configure: error: freetype.h not found

解决:yum install -y freetype freetype-devel


错误6:configure: error: jpeglib.h not found.

解决:yum install -y libjpeg-devel


错误7:configure: error: png.h not found.

解决:yum install -y libpng libpng-devel


错误8:configure: error: mcrypt.h not found. Please reinstall libmcrypt.

解决:rpm -ivh "http://www.aminglinux.com/bbs/data/attachment/forum/month_1211/epel-release-6-7.noarch.rpm"
    yum install -y  libmcrypt-devel





相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!