Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
PHP is not working on Leopard/Apache2.2--Help!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="riceric" data-source="post: 840544" data-attributes="member: 99492"><p>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:</p><p></p><p>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.</p><p></p><p>In my apache configuration, I made sure that this line was uncommented: LoadModule php5_module modules/libphp5.so</p><p></p><p>I also added the line to detect the php MIME type.</p><p></p><p>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.</p><p></p><p>Secondary Question: Is there any way for me to find out exactly which Apache/PHP/MySQL instance I am running?</p><p></p><p>Can someone help me overcome this obstacle?</p></blockquote><p></p>
[QUOTE="riceric, post: 840544, member: 99492"] 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]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
PHP is not working on Leopard/Apache2.2--Help!
Top