How to install apache2.0.44 + PHP4.3.0 _ PHP using Dynamic Modules

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.