wdcp升级php5.3

cd /tmp
wget -c http://dl.wdlinux.cn:5180/soft/php-5.3.10.tar.gz
tar zxvf php-5.3.10.tar.gz
cd php-5.3.10
./configure –prefix=/www/wdlinux/php-5.3.10 –with-config-file-path=/www/wdlinux/etc –with-mysql=/www/wdlinux/mysql –with-iconv=/usr –with-freetype-dir –with-jpeg-dir –with-png-dir –with-zlib –with-libxml-dir=/usr –enable-xml –disable-rpath –enable-inline-optimization –with-curl –enable-mbregex –enable-mbstring –with-mcrypt=/usr –with-gd –enable-gd-native-ttf –with-openssl –with-mhash –enable-ftp –with-apxs2=/www/wdlinux/apache/bin/apxs
make
make install
rm -f /www/wdlinx/php
ln -s /www/wdlinux/php-5.3.10 /www/wdlinux/php
service httpd restart

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注