Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.