Whenever I try to start up WAMP, I get the following message in my apache error log:

Syntax error on line 46 of C:/wamp/bin/apache/apache2.2.8/conf/httpd.conf:
Listen setup failed

This statement says that httpd.conf of apache has a syntax error, but I don't know what the syntax error could possibly be. This is what line 46 of the http.conf file says:

Listen 80

How do I fix this syntax error?

link|improve this question
feedback

1 Answer

There is no syntax error in that line. Probably it is in line 45. Or probably the line you think is line 46 is actually not line 46.

But you can remove line 46 and write it again at line 46. And then see if this works.

On the other hand you are probably not allowed to have the Listen directive in the context where you put it. See where it is allowed: http://httpd.apache.org/docs/2.0/bind.html

You have to provide way more context around line 46.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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