PHP, apache (Linux), and modules

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I plan on installing PHP and Apache on a Linux box.  (Plan on doing it with  
binaries that come with Linux distro.)

One thing I'm confused about is how PHP is run as a module.  I'm not that  
familiar with this stuff, and I would have thought that there's something  
called mod_php that needs installing.  But I can't find much reference to  
anything like that anywhere.

(Want to install as little stuff as possible.)



Re: PHP, apache (Linux), and modules

The PHP module's name is libphp[4|5].so (does not follow the mod_xxx
terminology) and needs to be put in the 'modules' subdirectory of your
apache installation dir. Then, you put a 'LoadModule' line in apache
conf, like for any Apache module.

Site Timeline