#yum remove php* #cd /usr/local/src/ #wget http://museum.php.net/php4/php-4.3.11.tar.gz #tar -zxvf php-4.3.11.tar.gz #cd php-4.3.11 #./configure --prefix=/usr/local/php --with-apxs2=/usr/sbin/apxs --with-config-file-path=/usr/local/php/etc --enable-mbstring --enable-mbregex --enable-mbstr-enc-trans --enable-versioning --enable-ftp --with-mysql=/usr/local/mysql --with-gd --with-jpeg-dir=/usr/lib -with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-freetype-dir=/usr/lib #make #make install #service httpd graceful