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 6032487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:20:30+00:00 2026-05-23T05:20:30+00:00

Installed: Entropy PHP 5.3.03.pkg I have been trying to enable php on my mac.

  • 0

Installed:

Entropy PHP 5.3.03.pkg

I have been trying to enable php on my mac. But everytime I point the browser to my test.php all I get is the source code being displayed:

I put my test.php in the following location:

user/admin/sites

And I browse to in using the following url:

http://localhost/~admin/test.php

and all I see is this:

<?php phpinfo(); ?>

I have done the following:

cp /etc/php.ini.default /etc/php.ini

chmod 666 /etc/php.ini

I have enabled web sharing in system preferences | web sharing

I have also uncommented the line in /etc/apache2/httpd.conf

#LoadModule php5_module libexec/apache2/libphp5.so

I have restarted apache

apachectl restart

However, I always end up with the source code being displayed.

Many thanks for any suggestions,

  • 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-05-23T05:20:30+00:00Added an answer on May 23, 2026 at 5:20 am

    I can’t answer your particular problem directly, but if you continue to have issues, may I suggest easy alternative? Install MAMP. Works like a charm with very little setup. Website here: http://www.mamp.info/en/index.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed GitHub on mac but I don't have installed git on terminal. When
I have a mac with a custom PHP 5 install that built from about
Installed a captcha on my blog, been good up until now. There have recently
Installed Magento 1.6.2.0, and noticed that the links are like http://MYSEUPERSTORE.com/ index.php /customer/account/ but
I installed subclipse in eclipse, but I get an error message Expected format '3'
Installed the IronPython tools for VS 2010 but it didn't associate the *.py files
I installed TestDriven.Net after installing NUnit. When in VS, I run all tests, they
I installed Google Chrome Portable on the user's desktop and have the default homepage
I installed the plugin for python and it detects the python code, but how
I do Php and MySQL development on a small scale on my Mac. When

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.