Install apache2.0.44 + PHP4.3.0 using dynamic modules. After a day of hard work, I finally installed apache2.0.44 + PHP4.3.0. I can't help but admire my stupidity: (I used to install php static modules in the past. it seems that apache2 and later versions have gone through a day of hard work, after installing apache2.0.44 + PHP4.3.0, I can't help but admire my stupidity: (I used to install php static modules in the past. it seems that I cannot install apache2 or a later version (I guess it's just a bit :)) the installation process is described as follows: mysql has been installed with rpm (rpm-ivh mysql-3.23.i386.rpm) 1. get the tarball of apache2.0.44 and php-4.3.0. put in/# tar zxvf apache2.0.44.tar.gz undo directory for httpd-2.0.44 # tar zxvf php-4.3.0.tar.gz 2 install apache2.0.44 # cd/httpd-2.0.44 #. /configure- -Prefix =/usr/local/apache # make install apache2.0.44 installation completed, about half an hour 3 install 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 install -- -mysql indicates that mysql is supported. -- with-apxs2 =/usr/local/apache/bin/apxs must not be less, this parameter to install php dynamic module under apache # cp/php-4.3.0/php. ini-dist/usr/local/lib/php. ini # vi/usr/l Ocal/lib/php. ini: modify register_globals = On. php installation is complete, about half an hour, 4. configure httpd. conf # cd/usr/local/apache/conf # vi httpd. add LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php. php changes Listen 192.168.0.1: 80 5. start:/usr/local/apache/bin/apachectl start 5. Test: edit index. php under/usr/local/apache/htdocs Enter http: // 192.168.0.1/index. php in ie to view the familiar php table and information. ----------------- <End> 〉
Ghost, I can't help but admire my stupidity: (I used to install php static modules in the past. it seems that I have installed apache2 or a later version...