After a day of efforts, and finally finished apache2.0.44+php4.3.0 hehe, can not help but admire their stupidity: (Before the installation is a static module in PHP, it seems that the apache2 above the version does not work (guess only:)) installation process is summarized as follows: MySQL was previously installed with RPM (RPM-IVH mysql-3.23.i386.rpm) 1. Get Tarball of apache2.0.44 and php-4.3.0. Put in/down #tar zxvf apache2.0.44.tar.gz unlock directory for httpd-2.0.44 #tar zxvf php-4.3.0.tar.gz 2 install apache2.0.44 #cd/httpd-2.0.44 #./conf Igure--prefix=/usr/local/apache #make #make install apache2.0.44 installation completed, approximately half an hour 3 installation php4.3.0 #cd/php-4.3.1 #./configure- -with-mysql--with-apxs2=/usr/local/apache/bin/apxs--enable-versioning--disable-debug--enable-track-vars #make # Make install--with-mysql to support MySQL which--with-apxs2=/usr/local/apache/bin/apxs must not be less, this parameter to PHP in the form of dynamic modules installed under Apache #cp/ Php-4.3.0/php.ini-dist/usr/local/lib/php.ini #vi/usr/local/lib/php.ini Modify Register_globals=on to this point, PHP installation completed, about half an hour, 4. Configure httpd.conf #cd/usr/local/apache/conf #vi httpd.conf Add two lines: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php. PHP Modified Listen 192.168.0.1:80 5. Start:/usr/local/apache/bin/apachectl start 5. Test: In/usr/Local/apache/htdocs under Edit index.php Enter http://192.168.0.1/index.php in IE to see the familiar PHP tables and information. -----------------(end)
http://www.bkjia.com/PHPjc/531725.html www.bkjia.com true http://www.bkjia.com/PHPjc/531725.html techarticle after a day of efforts, finally loaded apache2.0.44+php4.3.0 hehe, can not help but admire their stupidity: (previously installed are the static module with PHP, it seems that the version of Apache2 above ...)