1、重新下載一個(gè)64位的“ZendGuardLoader.so”。
2、將其放到“/usr/local/zend/”下。
3、重新執(zhí)行“lamp php-fpm start”即可。
修復(fù)步驟
用file命令查看當(dāng)前的ZendGuardLoader.so的文件信息,可以看到當(dāng)前so文件為32位的文件。
1
2
|
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文件之后重新啟動(dòng)php-fpm
1
2
3
4
|
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,可以看到當(dāng)前為64位的文件了。
1
2
|
test@ubuntu:/usr/local/zend$ file ZendGuardLoader.so ZendGuardLoader.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped |
到此這篇關(guān)于如何解決php-fpm啟動(dòng)不了問題的文章就介紹到這了,更多相關(guān)php-fpm啟動(dòng)不了的解決辦法內(nèi)容請(qǐng)搜索服務(wù)器之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持服務(wù)器之家!
原文鏈接:https://www.py.cn/php/jiaocheng/34627.html