如何解決php-fpm啟動不了問題
1、重新下載一個64位的“ZendGuardLoader.so”。
2、將其放到“/usr/local/zend/”下。
3、重新執(zhí)行“l(fā)amp php-fpm start”即可。
修復步驟
用file命令查看當前的ZendGuardLoader.so的文件信息,可以看到當前so文件為32位的文件。
test@ubuntu:/usr/local/zend$ file ZendGuardLoader.so ZendGuardLoader.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
下載解壓64位的ZendGuardLoader,然后替換原來的.so文件之后重新啟動php-fpm
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-Linux-glibc23-x86_64.tar.gz tar -xvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz cp ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so /usr/local/zend/
重新用file看下替換之后的ZendGuardLoader.so,可以看到當前為64位的文件了。
test@ubuntu:/usr/local/zend$ file ZendGuardLoader.so ZendGuardLoader.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
到此這篇關于如何解決php-fpm啟動不了問題的文章就介紹到這了,更多相關php-fpm啟動不了的解決辦法內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!
版權聲明:
本站所有文章和圖片均來自用戶分享和網(wǎng)絡收集,文章和圖片版權歸原作者及原出處所有,僅供學習與參考,請勿用于商業(yè)用途,如果損害了您的權利,請聯(lián)系網(wǎng)站客服處理。