05-02-2009, 02:38 PM #1
PHP is not working on Leopard/Apache2.2--Help!
- Member Since
- May 02, 2009
I had the default Apache2.2 and PHP installation working on my MacBook Pro, but it stopped working at some point. I've read many online articles to try and fix this problem, but none of them have pointed out anything that I am not already doing to get PHP working again. I am completely stumped:
My basic Apache configuration appears to be working properly because I can access both of my virtual hosts in a web browser, but no php code (i.e. phpinfo()) will render. The pages are not throwing any errors, either.
In my apache configuration, I made sure that this line was uncommented: LoadModule php5_module modules/libphp5.so
I also added the line to detect the php MIME type.
A second thing that I tried to do was to install Apache/PHP/MySQL using MacPort. The installation went smoothly, and I stopped my original Apache server and created a separate script to start the 2nd installation. I updated the configuration files, etc., but I am experiencing the same issues.
Secondary Question: Is there any way for me to find out exactly which Apache/PHP/MySQL instance I am running?
Can someone help me overcome this obstacle?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By hojkoff_101 in forum Web Design and HostingReplies: 3Last Post: 03-12-2012, 11:23 PM
By mcphee78 in forum OS X - Operating SystemReplies: 0Last Post: 01-03-2012, 06:43 PM
By osbourne.cox in forum OS X - Development and DarwinReplies: 3Last Post: 12-27-2010, 04:42 PM
By skorpyo in forum Web Design and HostingReplies: 1Last Post: 01-18-2008, 04:38 AM
By s.osullivan in forum OS X - Development and DarwinReplies: 3Last Post: 01-07-2008, 02:11 PM