简体   繁体   English

php5-fpm在Ubuntu升级后无法启动

[英]php5-fpm failing to start after upgrade of Ubuntu

I upgraded my laptop on the weekend from Kubuntu 12.04 to 12.10 and all seemed fine, until I started working again. 我升级我的笔记本电脑上周末从Kubuntu的12.04到12.10和一切似乎都很好,直到我开始工作了。

The laptop is a webdev machine running Nginx and php via php5-fpm but now it seems that php5-fpm will not start. 笔记本电脑是一台通过php5-fpm运行Nginx和php的webdev机器,但是现在看来php5-fpm无法启动。 When I run /etc/init.d/php5-fpm restart I just get a message that says FAIL. 当我运行/etc/init.d/php5-fpm重启我刚刚得到一个消息,说失败。 I am not getting any messages in syslog or /var/log/fpm-php.www.log to give hints on what's happening. 我在syslog或/var/log/fpm-php.www.log中未收到任何消息来提示正在发生的事情。 I am running ps to check that there is indeed no PHP processes running. 我正在运行ps以检查是否确实没有PHP进程正在运行。 I have also tried changing the listen parameter from 127.0.0.1 to listen = /var/run/php5-fpm.sock 我也尝试将listen参数从127.0.0.1更改为listen = /var/run/php5-fpm.sock

Can anyone suggest some things to try in order to solve this issue? 谁能建议一些尝试解决此问题的方法?

php version 5.4.8; php版本5.4.8; php5-fpm version 5.4.8 php5-fpm版本5.4.8

I wouldn't say I solved the problem but I have fixed it. 我不会说我解决了问题,但是已经解决了。 I replaced my whole /etc/php5 directory with that of my Debian 6 production server and all is working now. 我用Debian 6生产服务器的目录替换了整个/ etc / php5目录,现在所有目录都可以使用了。 A diff shows many differences throughout the files but nothing is obvious. 差异显示了整个文件中的许多差异,但没有明显的差异。 If I get a chance I'll work through each differences to see the key problem. 如果有机会,我将努力解决每个差异,以解决关键问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM