lnmp1.2安装是php安装失败
在安装lnmp过程中显示nginx和mysql安装成功,php安装失败系统是centos6.2 64位采用更新的方法也不能安装php, 显示 bin/lnmp: line 27: /etc/init.d/php-fpm: No such file or directory 然后也确实没有,现在我也不知道怎么办了,现在挺急的....55555 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: Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: 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 看看能否正常安装
重新安装就行了
页:
[1]