[SOLVED] Re: apache2 activating php5

Thoraval Yvon yt.dev at free.fr
Wed Apr 25 16:18:26 PDT 2007


On Wed, 25 Apr 2007 21:51:47 +0100
Mark Hattam <mark at dxradio.demon.co.uk> wrote:

> In your httpd.conf file have you got the Server Root set correctly?
> 
> ServerRoot "/opt/local/apache2"
> 
> If putting the full (absolute) path fixes php5 
> module, then it probably means that Apache isn't 
> find any of its other modules either ...


Y're right, i do have :

ServerRoot "/opt/local/apache2"

but my :

LoadModule php5_module /opt/local/apache2/modules/libphp5.so

might be only some sort of workaround where i've corrected only the symptom not the true cause of the prob.

i say that because i did a symlink for the manual :

~/Sites%> ls -al manual
lrwxr-xr-x   1 yt  yt  25 Apr 24 09:53 manual -> /opt/local/apache2/manual

my DocumentRoot being set to /Users/yt/Sites

and when i point a browser to the url :

http://www.une-bevue.fr/manual

instead of having the manual page, in french in my case, i get :

URI: index.html.de Content-Language: de Content-type: text/html; charset=ISO-8859-1
<snip />
URI: index.html.pt-br Content-Language: pt-br Content-type: text/html; charset=ISO-8859-1

which means another module isn't working (all modules, afaik, are in  /opt/local/apache2/modules)

then, i'm lost about this question absolute PATH versus php5 working ...

thanks,

Yvon



More information about the macports-users mailing list