捕获 SIGTERM 错误 PHP FAST-CGI APACHE Ubuntu14.4

caught SIGTERM error PHP FAST-CGI APACHE Ubuntu14.4

我按照以下教程安装了 PHP 5.2.17

http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204

已安装 apt-get PHP5.5 和 apache 2.4.7

PHPINFO 报告设置主机的php版本仍然是5.5.9

当我重新启动 apache2 服务时,我在 error.log 中得到以下信息。

[Thu Mar 19 14:18:53.648697 2015] [mpm_prefork:notice] [pid 23518] AH00169: caught SIGTERM, shutting down
[Thu Mar 19 14:18:54.741836 2015] [:notice] [pid 5543] FastCGI: process manager initialized (pid 5543)
[Thu Mar 19 14:18:54.754243 2015] [mpm_prefork:notice] [pid 5541] AH00163: Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/5.5.9-1ubuntu4.6 configured -- resuming normal operations
[Thu Mar 19 14:18:54.754317 2015] [core:notice] [pid 5541] AH00094: Command line: '/usr/sbin/apache2'

删除 php5.5 解决了问题。

问题可能是两个 PHP 版本之间的冲突,使用 相同 fastcgi 实现。