如何解決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ù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!
相關文章
解析二進制流接口應用實例 pack、unpack、ord 函數(shù)使用方法
本篇文章是對二進制流接口應用實例 pack、unpack、ord 函數(shù)使用方法進行了詳細的分析介紹,需要的朋友參考下2013-06-06PHP編程計算文件或數(shù)組中單詞出現(xiàn)頻率的方法
這篇文章主要介紹了PHP編程計算文件或數(shù)組中單詞出現(xiàn)頻率的方法,給出了2個統(tǒng)計單詞頻率的示例,涉及php正則、數(shù)組操作及字符串遍歷等相關技巧,需要的朋友可以參考下2017-05-05