[SOLVED] Re: apache2 activating php5

Thoraval Yvon yt.dev at free.fr
Thu Apr 26 03:45:58 PDT 2007


On Thu, 26 Apr 2007 04:31:38 -0500
Ryan Schmidt <ryandesign at macports.org> wrote:

> 
> "LoadModule php5_module modules/libphp5.so" should be sufficient. It  
> works fine for me.

YES i agree with you but...

> Are you *sure* ServerRoot is set correctly? Perhaps you have defined  
> it twice? Perhaps not even in the main httpd.conf but in some other  
> conf file that's being included?
> 

i've that :

ServerRoot "/opt/local/apache2"

ONLY ONE time in /opt/local/apache2/conf/httpd.conf

and also all of the :

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

are commented out with a #.

the other httpd.conf (for Apache2) are :
/opt/local/apache2/conf/httpd.conf.sample
/opt/local/apache2/conf/original/httpd.conf

and all of those have the same ServerRoot value, i think the value "/opt/local/apache2" has been set by MacPort.

i did change myself DocumentRoot only...

looks strange to me.

best,

Yvon



More information about the macports-users mailing list