Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've set up PHP on my OS X 10.8 system and am trying to test it works. I created a file named "phpinfo.php" and placed it in my document root with the contents below:

 <?php phpinfo(); ?>

When I view it in a browser, it says:

[ Error writing info.php: Permission denied ]

How can I fix this?

share|improve this question
Have a look at the Console app, there should be an apache log in /private/var/log/apache2/error_log. See if there is any relevant information there, and paste it in your question, as this is not enough to answer. First guess would be a permissions issue with the temp folder though – Achilles Aug 1 '12 at 11:18

You must log in to answer this question.

Browse other questions tagged .