Server Fault is a question and answer site for system and network administrators. 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'm running Apache on Mac, PHP is installed, and I suspect something in the httpd.conf is not correctly set.

The symptom: Running PHP files in localhost yields PHP code, nothing else.

Running apachectl -D DUMP_HOSTS yields:

Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs


share|improve this question

Fixed. Problem: Missing AddType application/x-httpd-php .php in httpd.conf

share|improve this answer

I'm on a MAC running OS X 10.6.x

I just added the local IP to the "Listen" directive. Changed Listen 80 -> Listen

Solved it for me.

share|improve this answer

Your Answer


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.