View Single Post
  #1  
Old May 23rd, 2008, 03:29 PM
whitesaint's Avatar
whitesaint whitesaint is offline
cocoa love
 
Join Date: Jun 2001
Location: Clearwater, Florida
Posts: 698
Thanks: 0
Thanked 0 Times in 0 Posts
whitesaint is on a distinguished road
Sticky: How to Enable PHP in Leopard

I'm sure this question gets asked a lot so I thought I'd help. This is pretty simple to do too.

1. Go to the Finder, in the Go menu, go to "Go to Folder..."
2. Type in "/etc/apache2/" (without the quotes of course)
3. There should be a file named "httpd.conf"
4. Go ahead and copy this file to your desktop.
5. Open "httpd.conf" with TextEdit
6. Find the line entitled "#LoadModule php5_module libexec/apache2/libphp5.so"
7. Delete the "#" so it reads "LoadModule php5_module libexec/apache2/libphp5.so" (without the quotes of course)
8. Save the "httpd.conf" file.
9. Copy the file back to "/etc/apache2/" (it's okay to overwrite)
10. Restart your mac and voila!
__________________
Mac Mini Core 2 Duo
1 GB RAM
----------------------------------------------------------
Custom Mac OS X Software and Custom Websites
Reply With Quote