Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

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.

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Sybase-PHP-Apache mini-HOWTO". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.