Home Page Home Page
 Home | Linux Administration | Corporate Services | Resources | About Us Support Center
Monthly Server Management One-time Server Services Other Services
Network Administration Network Monitoring Network Security High Availability Load Balancing Data Backup and Recovery
Linux HOWTOs Linux Guides Linux Articles New RFCs Vulnerability list Linux Journal
Testimonials Partners Careers Contact Us Site Map
Install Apache

6. Install Apache

Now cd back into the apache unpack directory. Issue the following commmands:

    # ./configure --activate-module=src/modules/php4/libphp4.a
    # make && make install

This should proceed without any problems. When its done, edit the file /usr/local/apache/conf/httpd.conf and uncomment the following line:

    AddType application/x-httpd-php .php

This tells apache to allow PHP to process files with a .php extension. You may also want to add some other extensions to the end of this line, eg:

    AddType application/x-httpd-php .php .php3 .html .htm

You now have all the software you need and are ready to test your system.