为什么 php5-fpm 无法启动?

为什么 php5-fpm 无法启动?

我刚刚安装了 php-fpm 5.6.8,但它无法启动 -start php5-fpm给我一个Job failed to start消息。我发现有几个人有类似的问题,但似乎没有一个答案对我有用。

我尝试过的一个解决方案是使用 中的命令/etc/init/php5-fpm.conf,即/usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf- 返回-bash: /usr/sbin/php5-fpm: No such file or directory- 我认为这是对可能出现问题的重大线索。尝试使用 以前台模式运行会php5-fpm -y /etc/php5/fpm/php-fpm.conf告诉我The program 'php5-fpm' is currently not installed. You can install it by typing: sudo apt-get install php5-fpm。执行此操作将返回以下内容:

Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-fpm is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 webmin : Depends: libnet-ssleay-perl but it is not going to be installed
          Depends: libauthen-pam-perl but it is not going to be installed
          Depends: libio-pty-perl but it is not going to be installed
          Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

有人能弄清楚这里发生了什么吗?顺便说一下,我正在使用 Ubuntu Server 14.04.2。

相关内容