|
Howto upgrade PHP to 5.2.0 in Debian |
|
|
|
Written by Administrator
|
|
Thursday, 04 January 2007 |
|
It will upgrade your php with imagemagick, gd, curl, pear, mysql, domxml, etc.. support
Install all required libraries using apt-get Code: apt-get install libxml2-dev apt-get install libbz2-dev apt-get install libmysqlclient12-dev apt-get install libc-client-dev apt-get install libpng-dev apt-get install libcurl-dev
Install latest PCRE manually Code: wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.0.tar.gz tar -xzvf pcre-7.0.tar.gz cd pcre-7.0 ./configure --prefix=/usr/ make make install
Download and install new PHP Code: ./configure --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php4/apache2 --enable-memory-limit --disable-debug --with-regex=php --disable-rpath --disable-static --with-pic --with-layout=GNU --with-pear=/usr/share/php --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-bcmath --with-bz2 --enable-ctype --with-db4 --with-iconv --enable-exif --enable-filepro --enable-ftp --with-gettext --enable-mbstring --with-pcre-regex=/usr --enable-shmop --enable-sockets --enable-wddx --disable-xml --with-expat-dir=/usr --with-xmlrpc --enable-yp --with-zlib --without-pgsql --with-kerberos=/usr --with-openssl=/usr --with-zip=/usr --enable-dbx --with-mime-magic=/usr/share/misc/file/magic.mime --with-exec-dir=/usr/lib/php4/libexec --without-mm --with-mysql --without-sybase-ct --enable-xml --with-gd --with-curl --with-imagemagick --with-imap --with-domxml --with-imap-ssl make make install
Add as favourites (56) | Quote this article on your site | Views: 1556
Powered by AkoComment Tweaked Special Edition v.1.4.5 |
|
Last Updated ( Thursday, 04 January 2007 )
|