New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

PHP is not working on Leopard/Apache2.2--Help!


Post Reply New Thread Subscribe

 
Thread Tools
riceric

 
Member Since: May 02, 2009
Posts: 1
riceric is on a distinguished road

riceric is offline
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?
QUOTE Thanks

Post Reply New Thread Subscribe


« problem uploading to server | Post videos on my site! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to test php offline? x5452 Web Design and Hosting 11 02-17-2009 08:04 AM
PHP and GD2 falcontook OS X - Development and Darwin 0 09-09-2008 09:46 PM
keyboard stops working, only in Finder? Help! coolskierguy OS X - Operating System 0 02-25-2008 01:56 PM
Apache, php and mysql on leopard skorpyo Web Design and Hosting 1 01-18-2008 04:38 AM

All times are GMT -4. The time now is 08:20 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?