阿里云上 源碼編譯 php 報(bào)錯(cuò)的集中整理
[root@localhost php-5.5.31]# ./configure --prefix=/module/application/php-5.5/--enable-pcntl --enable-fpm --enable-posix --enable-mysqlnd --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --enable-bcmath --enable-zip --enable-ftp --enable-soap --enable-xml --enable-mbstring --disable-rpath --disable-debug --disable-fileinfo --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-zend-vm=GOTO --with-pcre-regex --with-iconv --with-zlib --with-mcrypt --with-gd --enable-gd-native-ttf --with-t1lib=/usr/local --with-xpm-dir=/usr/local --with-jpeg-dir=/usr/local --with-zlib-dir=/usr --with-png-dir=/usr/local --with-freetype-dir=/usr/local --with-openssl --with-mhash --with-xmlrpc --with-curl --with-imap-ssl --with-libxml-dir --with-gettext --enable-maintainer-zts --enable-opcache
報(bào)錯(cuò)
configure: error: xml2-config not found. Please check your libxml2 installation.
解決方法
yum install ibxml2* -y libxml2-devel
報(bào)錯(cuò)
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
解決方法
yum install libcurl* libcurl-devel -y
報(bào)錯(cuò)
configure: error: jpeglib.h not found.
解決方法
yum -y install libjpeg-devel
報(bào)錯(cuò)
checking for jpeg_read_header in -ljpeg... Yes configure: error: png.h not found.
解決方法
yum install libpng-devel
報(bào)錯(cuò)
configure: error: xpm.h not found.
解決方法
yum -y install libXpm-devel
報(bào)錯(cuò)
configure: error: freetype-config not found
解決方法
yum install freetype-devel -y
報(bào)錯(cuò)
configure: error: Your t1lib distribution is not installed correctly. Please reinstall it
解決方法
yum install t1lib* -y
報(bào)錯(cuò)
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
解決方法
yum install mcrypt -y
yum install libmcrypt libmcrypt-devel
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。
網(wǎng)站題目:源碼編譯php-5報(bào)錯(cuò)整理-創(chuàng)新互聯(lián)
標(biāo)題路徑:http://www.chinadenli.net/article12/cchcgc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供Google、做網(wǎng)站、動(dòng)態(tài)網(wǎng)站、定制開發(fā)、手機(jī)網(wǎng)站建設(shè)、營銷型網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容