VPS侦探论坛

 找回密码
 注册
查看: 3438|回复: 1

lnmp1.4 安装php失败

[复制链接]
发表于 2017-9-24 19:21:17 | 显示全部楼层 |阅读模式

平台:Google Cloud Platform,系统信息:Debian 8.9 64位 Debian GNU/Linux 8 (jessie) Linux gcp 4.13.0-041300-generic #201709031731 SMP Sun Sep 3 21:33:09 UTC 2017 x86_64 GNU/Linux
错误:
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...  done
Add mariadb service at system startup...
Starting mariadb (via systemctl): mariadb.service.
Add php-fpm service at system startup...
update-rc.d: error: initscript does not exist: /etc/init.d/php-fpm
include/end.sh: line 54: /etc/init.d/php-fpm: No such file or directory

[ 本帖最后由 michaelchoi 于 2017-9-24 19:24 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-9-25 09:12:38 | 显示全部楼层


Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libpq-dev : Depends: libssl-dev but it is not going to be installed
             Depends: krb5-multidev but it is not going to be installed
             Depends: comerr-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

The following packages have unmet dependencies:
libc-client2007e-dev : Depends: comerr-dev but it is not going to be installed
                        Depends: krb5-multidev but it is not going to be installed
                        Depends: libssl-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

你系统上软件依赖有问题导致的,可以参考:https://bbs.vpser.net/thread-13449-1-1.html 的思路尝试解决
也可以换其他版本系统或发行版
也可以联系QQ/旺旺付费解决
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-18 08:12 , Processed in 0.026003 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表