Whole document tree

Whole document tree

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.