CentOS編譯安裝PHP常見錯誤及解決辦法
1.configure: error: No curses/termcap library found
yum -y install ncurses-devel
2.configure: error: xml2-config not found. Please check your libxml2 installation.
yum -y install libxml2 libxml2-devel
3.configure: error: Cannot find OpenSSL's
yum -y install openssl-devel
4.configure: error: libjpeg.(a|so) not found
yum -y install gd gd-devel
5.configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
yum -y install net-snmp-devel
6.configure: error: cannot find output from lex; giving up
yum -y install flex
7.configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
yum -y install zlib-devel openssl-devel
8.configure: error: libxpm.(a|so) not found.
yum -y install libxpm-dev
9.configure: error: freetype.h not found.
yum install freetype-devel
10.configure: error: …No recognized SSL/TLS toolkit detected
yum -y install libssl-dev
11.Configure: error: Please reinstall the BZip2 distribution
yum install bzip2 bzip2-devel
12.Configure: error: Please reinstall the libcurl distribution – easy.h should be in /include/curl/
yum install curl curl-devel
13.Configure: error: Unable to locate gmp.h
yum install gmp-devel
14.configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
yum -y install postgresql-devel
15.Configure: error: Please reinstall the ncurses distribution
yum install ncurses ncurses-devel
16.Checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!
yum install unixODBC-devel
17.Configure: error: Cannot find pspell
yum install pspell-devel
18.configure: error: mcrypt.h not found. Please reinstall libmcrypt.
yum install libmcrypt libmcrypt-devel
19.Configure: error: snmp.h not found. Check your SNMP installation.
yum install net-snmp net-snmp-devel
20.開啟LDAP服務(wù)
yum -y install openldap-devel openldap-servers openldap-clients
21.configure: error: cannot find output from lex; giving up
yum -y install flex
22.configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
yum -y install zlib-devel openssl-devel
總結(jié)
以上所述是小編給大家介紹的CentOS編譯安裝PHP常見錯誤及解決辦法,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
如果你覺得本文對你有幫助,歡迎轉(zhuǎn)載,煩請注明出處,謝謝!
- 詳解Centos7源碼編譯安裝 php7.2之生產(chǎn)篇
- Centos7.2 編譯安裝PHP7.0.2的步驟
- Centos 6.8編譯安裝LNMP環(huán)境(Nginx+MySQL+PHP)教程
- Centos7下編譯安裝配置Nginx+PHP+MySql環(huán)境
- CentOS 7.2.1511 編譯安裝Nginx1.10.1+MySQL5.6.33+PHP5.6.26運(yùn)行環(huán)境
- CentOS 6.6服務(wù)器編譯安裝lnmp(Nginx1.6.2+MySQL5.6.21+PHP5.6.3)
- CentOS 7.2 下編譯安裝PHP7.0.10+MySQL5.7.14+Nginx1.10.1的方法詳解(mini版本)
相關(guān)文章
Linux 下各個文件夾的結(jié)構(gòu)說明及用途介紹(超詳細(xì))
通常情況下,根文件系統(tǒng)所占空間一般應(yīng)該比較小,因?yàn)槠渲械慕^大部分文件都不需要經(jīng)常改動,而且包括嚴(yán)格的文件和一個小的不經(jīng)常改變的文件系統(tǒng)不容易損壞2018-02-02
CentOS的圖形安裝及初始環(huán)境設(shè)置教程
CentOS是當(dāng)前最流行的商業(yè)版Linux -- Red Hat Enterprise Linux(RHEL)的克隆版。它和RHEL的區(qū)別除了沒有RHEL一樣的技術(shù)支持以外,就是修正了RHEL已知的一些Bug,所以,其穩(wěn)定性值得我們信賴。2008-05-05
統(tǒng)計Linux 中文件和文件夾/目錄的數(shù)量(示例代碼)
這篇文章主要介紹了統(tǒng)計Linux 中文件和文件夾/目錄的數(shù)量(示例代碼),需要的朋友可以參考下2018-02-02
FreeBSD6.0Release+Squid+Socks5服務(wù)器架設(shè)筆記
FreeBSD6.0Release+Squid+Socks5服務(wù)器架設(shè)筆記...2007-05-05
系統(tǒng)安全:Linux服務(wù)器安全隱患以及防范對策
系統(tǒng)安全:Linux服務(wù)器安全隱患以及防范對策...2006-10-10

