lundo
User
| Posts: 8 |   |
|
Apache server on MacBook Pro - 2009/03/09 19:43
Pardon the post if this forum is supposed to be hardware-related, but I'm stuck.
On a MacBook Pro 2.2 GHZ Intel Core Due with 2 GB of RAM, I have my httpd set up to view a local directory as my home page, useful for testing php scripts locally.
This worked fine on OS X 10.4, but since upgrading to Leopard, when I access a .php file in my browser it just displays the plain text of the script.
I've got all the 'LoadModule php5_module' and 'AddModule mod_php5.c' lines in httpd.conf, and manually added 'application/x-httpd-php php' to mime.types just to be sure.
I can run PHP 5 from a Terminal window, and 'php' is in my default path.
Can anyone tell me where else to look for a way to get apache to pass .php pages to the php program?
Top
|