On 23/05/2006, at 5:22 PM, [EMAIL PROTECTED] wrote:

Are you saying PHP is pre-installed on Tiger like Apache web server?
If so why do I get no result when I load my info.php file which
contains the line: <?php phpinfo() ?>
I had all of this working under Panther and I don't think I'm doing
anything different to how I had it before.

Opens Treminal...

I just found that it is indeed installed and available from the
Terminal.
Why is it not happening in Apache I wonder, do I need to activate it
somehow?


You need to activate it.

Easiest way is to edit /private/etc/httpd/httpd.conf

And uncomment (remove that first hash):
#LoadModule php4_module        libexec/httpd/libphp4.so

And uncomment (remove that first hash):
#AddModule mod_php4.c

Restart the web server (you can simply turn off web sharing and turn it back on
again) and you're good to go.

Ah, thats better, thank you very much.
You know I vaguely remember doing that last time.

Was there also something to do with php.ini I wonder...

Thanks
Paul