你全力做到最好,可能还不如别人随便搞搞!

发掘积累过程的快感

首页 » BIBLE模型 » PHP » php-fpm 启动报错 the master process didn't send back its status

php-fpm 启动报错 the master process didn't send back its status


php-fpm 启动报错 the master process didn't send back its status

最近手上一台 centos6 上面的 php-fpm 启动失败,报错提示 the master process didn't send back its status (via the pipe to the calling process)

把 php 的 pecl 扩展全部注释掉后能启动,加上 redis、swoole 这些扩展后就启动失败并报错 the master process didn't send back its status (via the pipe to the calling process)。意思是主进程没有返回其状态(通过管道发送到调用进程)。

这是 pecl 动态扩展导致的问题,将 PECL 扩展库静态编译入 PHP,问题解决。

将 pecl 扩展包解压至 php 源码包的 ext 文件中,然后强制 PHP 生成配置脚本,然后正常编译 PHP:

mv configure configure.bak
./buildconf --force
./buildconf --help 查看扩展的相关选项
这里我装的是redis

./configure --enable-redis

编译完成,完美

make 
make install

好了,这样问题解决。

互联网信息太多太杂,各互联网公司不断推送娱乐花边新闻,SNS,微博不断转移我们的注意力。但是,我们的时间和精力却是有限的。这里是互联网浩瀚的海洋中的一座宁静与美丽的小岛,供开发者歇息与静心潜心修炼。 “Bible”是圣经,有权威的书,我们的本意就是为开发者提供真正有用的的资料。 我的电子邮件 1217179982@qq.com,您在开发过程中遇到任何问题,欢迎与我联系。
Copyright © 2024. All rights reserved. 本站由 Helay 纯手工打造. 蜀ICP备15017444号