[Techtalk] Installing PHP with Apache

Yaroslav Fedevych jaroslawfd at ukrpost.net
Fri Jan 30 19:17:52 EST 2004


Dan Richter wrote:

> I'm installing Apache and PHP (from source, because I don't have root 
> access to the machine and so can't install it in /usr). I can install 
> and build Apache, and I can install and build PHP, but how do I put the 
> two together? I've even tried compiling PHP into Apache, but I still 
> can't get it to recognize my PHP files as such.
> 
> I haven't edited or moved anything by hand, except for the most basic 
> changes to the Apache configuration file (no LoadModule commands).
> 
> P.S. I'm using Apache 2.
> 

There is also fancy stuff like AddHandler directives. Use them to 
configure Apache, so it can see .php and .php4 files.

P.S. I don't know how they look like in Apache 2, so check the docs for 
them.




More information about the Techtalk mailing list