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 installed MAMP on this Mac OSX 10.6.6. A phpinfo test seems to say that PHP is installed. But when I open a file (e.g. index.php) in the browser, it comes up blank. What could be the problem?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Did you check file permissions on the PHP files? If the owner of the files does not have permission to execute PHP result could end up blanc.

share|improve this answer
add comment

The phpinfo() command will show you where the error log is located. This should provide some clues.

share|improve this answer
    
Mamp did not create a php log. I added error reporting to one of the php files and it still did not create a log. –  user823527 Mar 28 '12 at 17:09
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.