- 论坛徽章:
- 0
|
呵,谢谢各位,我昨天已经试过把参数选项遍历过了,但还是出现"make:***[libphp5.1a] Error "
今日早上安装php5.1.4没有发现问题,我的安装步骤如下:
#tar -zxvf php5.1.4.tar.gz
#cd php5.1.4
#./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-config-filepath=/usr/local/php5 --disable-debug --enable-ftp --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-mm=shared --enable-safe-mode --enable-track-vars --enable-trans-sid --enable-wddx=shared --enable-xml --with-dom --with-gd --with-gettext --with-mysql=/usr/lib/mysql --with-regex=system --with-xml --with-zlib --with-mysqli=/usr/bin/mysql_config
#make
#make install
#vi /usr/local/apache2/conf/httpd.conf
把LoadModule php4_module modules/libphp4.so
修改为
#LoadModule php4_module modules/libphp4.so
#sync
#reboot |
|