VPS侦探论坛

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

lnmp1.2安装是php安装失败

[复制链接]
发表于 2016-5-11 16:17:00 | 显示全部楼层 |阅读模式

在安装lnmp过程中显示nginx和mysql安装成功,php安装失败系统是centos6.2 64位  采用更新的方法也不能安装php, 显示 bin/lnmp: line 27: /etc/init.d/php-fpm: No such file or directory 然后也确实没有,现在我也不知道怎么办了,
现在挺急的....55555

本帖子中包含更多资源

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

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


Loading mirror speeds from cached hostfile
* base: mirrors.cqu.edu.cn
* c6-media:
* extras: mirrors.cug.edu.cn
* updates: mirrors.cug.edu.cn
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
....................
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

看你这个只有光盘源没有网络源造成libxml2没安装上
设置上网络源后 yum install libxml2 libxml2-devel -y 看看能否正常安装
重新安装就行了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-29 07:32 , Processed in 0.026051 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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