遇到的問題與解決方案
問題一:
成都創(chuàng)新互聯(lián)公司堅持“要么做到,要么別承諾”的工作理念,服務(wù)領(lǐng)域包括:網(wǎng)站設(shè)計制作、做網(wǎng)站、企業(yè)官網(wǎng)、英文網(wǎng)站、手機端網(wǎng)站、網(wǎng)站推廣等服務(wù),滿足客戶于互聯(lián)網(wǎng)時代的榕城網(wǎng)站設(shè)計、移動媒體設(shè)計的需求,幫助企業(yè)找到有效的互聯(lián)網(wǎng)解決方案。努力成為您成熟可靠的網(wǎng)絡(luò)建設(shè)合作伙伴!
報以下錯誤
./configure以下錯誤發(fā)生
Sorry, I cannot run apxs. Possiblereasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using--with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page isdisplayed)
解決方法:指定正確的apxs路徑
1.查找apxs路徑
# whereis apxs
apxs:
說明系統(tǒng)沒有安裝apxs擴展工具
2.安裝apxs
# yum install httpd-devel
3.查找apxs路徑
# whereis apxs
apxs: /usr/sbin/apxs /usr/share/man/man8/apxs.8.gz
apxs安裝成功
問題二:
報以下錯誤
安裝apxs以下錯誤發(fā)生:
Package cyrus-sasl-plain needs cyrus-sasl-lib = 2.1.22-4, thisis not available.
解決方法:
# yum -y install cyrus*
之后再次安裝apxs
問題三:
報以下錯
再次./configure以下錯誤發(fā)生
configure: error: xml2-config not found. Please check your libxml2installation.
解決方法:
安裝libxml2
# yum install libxml2-devel
【問題四:=====================================================】
hecking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Pleasecheck the config.log fordetails.
解決方法:
# yum erase zlib-devel
# yum install zlib-devel
# yum install libxml2-devel
[root@node1 ~]# ./configure --prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs
# make && make install
【問題5。。。。。。。。。。。。。。。。。。。。?!?/strong>
configure: error: mcrypt.h not found.Please reinstall libmcrypt.
解決方法:
解決辦法一
1、安裝第三方y(tǒng)um源
wgethttp://www.atomicorp.com/installers/atomic
sh ./atomic
2、使用yum命令安裝
yum install php-mcrypt libmcrypt libmcrypt-devel
分享文章:LinuxPHP安裝遇見的問題及解決方案
網(wǎng)站地址:http://jinyejixie.com/article38/podisp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站策劃、全網(wǎng)營銷推廣、營銷型網(wǎng)站建設(shè)、虛擬主機、網(wǎng)站改版、做網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)