2012-5-2 18:37:19 阅读3 评论0 22012/05 May2
2012-4-25 9:43:28 阅读5 评论0 252012/04 Apr25
2012-4-22 17:44:10 阅读10 评论0 222012/04 Apr22
一、源代码安装
下载源代码,目前看来还是最好的方法,虽然不像后两种傻瓜,但是确实灵活,方便的多。也不至于缺少为缺少某个模块被囧死。
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/lib --with-apxs2=/usr/sbin/apxs --with-mysql --with-gd --with-mcrypt --enable-mbstring -enable-cli
[root@localhost php-5.2.14]# make install
Installing PHP SAPI module: apache2handler
/usr/lib/httpd/build/instdso.sh