Page 1 of 1

Apache Starts then Stops

PostPosted: 11. May 2011 21:18
by tkelting08
Hello I'm having trouble with Apache starting and stopping on my system. I've read over threads with people who have similar problems as me, but I have been unable to fix this so far.

On the XAMPP Control Panel I click start for Apache.
I receive this:
Busy...
Apache started [Port 80]

Sometimes the start button will flicker to show the stop button, but sometimes the green "Running" line will show up next to it for a couple of seconds before it go away and Apache stops. I don't have SVC checked.

When I run apache_start.bat it says:
Now we start Apache
Starting "apache"...
"apache" is not started.
Press any key to continue...

After that my apache error logs reads as such:
Syntax error on line 28 of C:/xampp/apache/conf/extra/httpd-multilang-errordoc.conf:
<Directory "C:C:/xampp/apache/error"> path is invalid.

I've tried editing httpd-multilang-errordoc.conf with no luck. Any help will be appreciated!

Re: Apache Starts then Stops

PostPosted: 11. May 2011 22:46
by WilliL
tkelting08 wrote:After that my apache error logs reads as such:
Syntax error on line 28 of C:/xampp/apache/conf/extra/httpd-multilang-errordoc.conf:
<Directory "C:C:/xampp/apache/error"> path is invalid.

did you change anything? What is changed?
of course there is an error (miswriting) change to:
Code: Select all
<Directory "C:/xampp/apache/error">

Re: Apache Starts then Stops

PostPosted: 11. May 2011 22:56
by tkelting08
Yes! That was a mistype when I was editing the file. That didn't fix the problem, however it did lead me to my xampp/apache/conf/extra/httpd-ssl.conf which had several syntax errors. After cleaning up the file Apache works beautifully :)

Thanks!