Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8035869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:26:11+00:00 2026-06-05T02:26:11+00:00

My apologies if this has already been answered – I’m having difficulty finding a

  • 0

My apologies if this has already been answered – I’m having difficulty finding a solution however.

I’m attempting to make the OSX 10.7.4 Apache, PHP, MySQL leap… I followed this http://echodittolabs.org/blog/2011/09/os-x-107-lion-development-native-apache-php-homebrew-mysql-or-mariadb, which for the most part went flawless (I had a minor hickup with the .plist but that is fixed).

Apache works fine. PHP works fine (thru terminal). I cannot get any PHP file to work via the browser however. I’ve uncommented LoadModule php5_module libexec/apache2/libphp5.so as well as included the IfModule php5_module piece. I’ve checked the modules loaded by apache which includes PHP5. Apache error_log provides nothing

Thoughts? (Please don’t say use MAMP).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:26:13+00:00Added an answer on June 5, 2026 at 2:26 am

    Try adding this line to your IfModule php5_module block:

    AddHandler php5-script .php
    

    So it looks like this:

    <IfModule php5_module>
      AddType application/x-httpd-php .php
      AddType application/x-httpd-php-source .phps
      AddHandler php5-script .php
    
      <IfModule dir_module>
        DirectoryIndex index.html index.php
      </IfModule>
    </IfModule>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apologies if this has been answered already, but I'm going through the posts here
Apologies if this has already been answered, but how do you guarantee one Entity
Apologies if this has already been asked and answered; I've looked around a bunch
Apologies if this has been answered already but I have yet been unable to
Apologies if this has already been answered many times, but I was unable to
OK, Apologies if this has already been asked and/or Answered but I'm struggling to
Apologies if this has been answered already. There are similar topics but none that
Apologies if this question has already been answered, I've already done an extensive search
I am new to python, apologies if this has been asked already. Using python
My apologies if this has been answered before or is obvious...did some searching here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.