port install php5 fails on Leopard 10.5.4
Ken Tozier
kentozier at comcast.net
Thu Jul 10 23:09:30 PDT 2008
On Jul 10, 2008, at 10:49 PM, Bill Hernandez wrote:
> /opt/local/apache2/conf/httpd.conf
> should show the three items below :
>
> LoadModule php5_module modules/libphp5.so
>
> Include conf/mod_php.conf
>
> DocumentRoot "/Web/path/to/your/www"
That must be part of the problem. /opt/local/apache2/conf/httpd.conf
doesn't exist /opt/local/apache2/conf/httpd.conf.example does but the
string "php" doesn't appear anywhere in it. There is an httpd.conf
file one level deeper in the hierarchy (/opt/local/apache2/conf/
original/httpd.conf") but that doesn't contain "php" either. Another
possible problem is that while both "httpd.conf.example" and "/
original/httpd.conf" contain t"DocumentRoot" the path points to "/opt/
local/apache2/htdocs" which, if I'm understanding how the "web
sharing" checkbox works in the "Sharing prefs panel," puts it
completely out of the normal web hosting framework.
This is starting to get complicated... Do I really have to subvert
the nice simple turn it on/turn it off mechanism of web sharing and
hand tool a bunch of settings to get this to work? Or is the php Mac
port not quite ready for prime time?
Any help/insights appreciated.
More information about the macports-users
mailing list