LINUX PHP安装
[root@localhost src]# tar xvf php-5.3.6.tar
[root@localhost src]# mkdir -p /home/web/php
[root@localhostsrc]#pwd
/home/src
[root@localhost src]# cd php-5.3.6[root@localhost php-5.3.6]# ./configure --prefix=/home/web/php/ --with-apxs2=/home/web/apache/bin/apxs --with-config-file-path=/home/web/php/
......
configure: error: xml2-config not found. Please check your libxml2 installation.报错,显示缺少东东,需要安装 libxml2
[root@localhost php-5.3.6]# yum install libxml2 libxml2-devel
继续
[root@localhost php-5.3.6]# ./configure --prefix=/home/web/php/ --with-apxs2=/home/web/apache/bin/apxs --with-config-file-path=/home/web/php/
[root@localhost php-5.3.6]#make
[root@localhost php-5.3.6]#make install
相关推荐
Noneyes 2020-11-10
zyyjay 2020-11-09
xuebingnan 2020-11-05
samtrue 2020-11-22
stefan0 2020-11-22
yifangs 2020-10-13
songshijiazuaa 2020-09-24
hebiwtc 2020-09-18
天步 2020-09-17
83911535 2020-11-13
whatsyourname 2020-11-13
zhouyuqi 2020-11-10
mathchao 2020-10-28
王志龙 2020-10-28
wwwsurfphpseocom 2020-10-28
diskingchuan 2020-10-23
savorTheFlavor 2020-10-23