MySQL Forums
Forum List  »  Install & Repo

Re: Leopard Install... Can connect but not through PHP.
Posted by: CMI Web Studio
Date: November 09, 2007 10:25PM

- Finder > Go > Go To Folder
- type in /etc
- then going into the Apache2 folder and copy httpd.conf to the Desktop (it won't let you edit in place).
- Change to a txt file so you can edit
- Find the line that says LoadModule php5_module and remove the #
- Save the file back into the .conf format and drag-drop into Apache 2 folder
- It may ask you to authenticate, click yes, and replace old one.
- Then restart apache by switching personal web sharing off and on in the sharing pref pane.

Should be working.
You can also find PHP 5
- Finder > Go > Go To Folder
- type in /private

This is a great link that also walks you step by step through setting up PHP/MySQL
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html



Edited 3 time(s). Last edit at 11/10/2007 01:21PM by CMI Web Studio.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.