Now, this is just something that a friend of mine tried, but does anyone know of a way to run PHP 5 as a module with Apache 2? She couldn't get it to work, and I just told her to switch to an older version of Apache for now. Any ideas?
Installing PHP5 with Apache 2
I've got PHP 5.0.1 and Apache2 working together ..
this is the LoadModule configuration line I use ..
#--------------------------------------------------------------
LoadModule php5_module c:/php/php5apache2.dll
AddType application/x-httpd-php .php .php3 .phtml
#--------------------------------------------------------------
note: for Apache2 use php5apache2.dll .. not .. php5apache.dll
both are found in c:\php\
..
p.s.
I found this tutorial to be helpful ..
What OS are we talking about the above is the Windows way. Linux is slightly different but not much
you just need to specify the in the php install
--with-apxs2=/path/to/apxs
then in the httpd.conf
AddType application/x-httpd-php .php
LoadModule php5_module modules/libphp5.so
And i think thats basically all thats required.
It's on *nix, I've forwarded her this post. Maybe...just maybe, she'll actually sign up on these boards.