Hosting and bandwidth provided by WebCentrix.net.


Members Home arrow Forums

The forums are sponsored by PowerMax -- which sells new and used Macs & iPods *free of sales tax* -- and Other World Computing -- which sells quality Mac memory, drives, & other upgrades.

EveryMac.com Forum  


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
  | | The administrator has disabled public write access.

      Topics Author Date
    thread link
Apache server on MacBook Pro
lundo 2009/03/09 19:43
    thread link
thread linkthread link Re:Apache server on MacBook Pro
lundo 2009/06/02 21:12
    thread link
thread linkthread linkthread link Re:Apache server on MacBook Pro
krowmagnum 2009/06/08 14:53



EveryMac.com is provided "as is" without warranty of any kind whatsoever. EveryMac.com, and the author thereof, shall not be held responsible or liable, under any circumstances, for any damages resulting from the use or inability to use the information within. For complete disclaimer and copyright information please read and understand the Terms of Use and the Privacy Policy before using EveryMac.com. Use of any content or images without expressed permission is not allowed, although links to any page are welcomed and appreciated.