SuperTaoer::Thanksgiving

清酒可与解忧;丑妇可与白头;徐行不必驷马;蔽体不必狐裘。

七月 30, 2005

升级服务器php版本到4.4.0

文章类别: 程序 技术 — SuperTaoer @ 3:14 pm

今天给服务器上的php升级到了4.4.0
根据需要装了libxml,libiconv,mhash

安装libxml
./configure –prefix=/usr/local/libxml2 && make && make install
安装libiconv
./configure –prefix=/usr/local/libiconv && make && make install
安装mhash
./configure –prefix=/usr/local/mhash && make && make install

./configure
–prefix=/usr/local/php/
–enable-force-cgi-redirect
–enable-mbstring=all
–enable-mbregex
–enable-mbstr-enc-trans
–enable-versioning
–enable-trans-sid
–enable-ftp
–with-mysql=/usr/local/mysql/
–with-apxs2=/usr/local/apache2/bin/apxs
–with-openssl=/usr/local/openssl
–with-soap=yes
–with-curl=/usr/local/curl/
–with-zlib-dir=/usr/local/zlib/
–with-mcrypt=/usr/local/libmcrypt/
–with-gd=/usr/local/gd2
–with-jpeg-dir=/usr
–with-freetype-dir=/usr/local/freetype
–with-ttf
–with-png-dir=/usr
–with-mhash=/usr/local/mhash/
–with-dom=/usr/local/libxml2
–with-iconv=/usr/local/libiconv

然后重新安装Zend
注意Zend版本号为2.5.10a才能装上
2.5.10不兼容

剩下的就是重新安装下需要的PEAR了



Leave a Message

No Messages

No Messages

RSS feed for comments on this post. TrackBack URI

Leave a Message





本站使用 WordPress架设