image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
LinkBack Thread Tools
  #1  
Old May 23rd, 2008, 03:29 PM
whitesaint's Avatar
cocoa love
 
Join Date: Jun 2001
Location: Clearwater, Florida
Posts: 700
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 software and bad ass consumer mac software
Reply With Quote
  #2  
Old June 22nd, 2008, 09:15 AM
Shayman's Avatar
Registered User
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Shayman is on a distinguished road
PHP activation did not work

I don't think this method worked for me.
When I look at my Testinfo.php file in my "Site" folder -- the php info is not rendered. Any suggestions. Pls keep it simple, I am a newbie.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 10:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.