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?