首页 / PHP教程 / 如何解决php-fpm运行不了问题

如何解决php-fpm运行不了问题

1、重新下载一个64位的“ZendGuardLoader.so”。
 
2、将其放到“/usr/local/zend/”下。
 
3、重新执行“lamp 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
 

本文来自网络,不代表糖果站长网立场,转载请注明出处:https://www.1tg.com.cn/html/jc/php/2021/1114/18928.html

dawei作者

【声明】:糖果站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。
上一篇
下一篇

为您推荐

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息
返回顶部

【免责声明】本站内容转载自互联网,其发布内容言论不代表本站观点,如果其链接、内容的侵犯您的权益,烦请提交相关链接至邮箱xwei067@foxmail.com我们将及时予以处理。

Copygight © 2013-2023 https://www.1tg.com.cn All Rights Reserved.糖果站长网

站长:xwei067#foxmail.com(请把#换成@)