PHP on clean OS X Panther install doesn't work
| From: | Ken Tozier | Date: | Sun, 02 Nov 2003 21:30:00 +0000 |
| Subject: | PHP on clean OS X Panther install doesn't work | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12184@lists.php.net to get a copy of this message | ||
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