I just did a clean install of OS X Panther, turned on personal web sharing, created a test file named "test.php" with the contents "<?php phpinfo() ?>" and placed copies in both my "Sites" and "WebServer/Documents" folder, launched a browser and tried to open the test file, no luck. All I'm getting is a page that contains the string "<?php phpinfo() ?>". It's not running PHP.

I'm sure I'm missing something, but since PHP is included in the Panther install, I'm assuming that it should be ready to go, correct? Are additional steps required to get PHP running? The relevant lines of the httpd.conf file seem to be uncommented:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Anyone had any luck getting PHP working on Panther?

Thanks,

Ken Tozier

Reply via email to