Page 1 of 1

Appache remains in "Attempting to start Apache service..."

PostPosted: 09. October 2015 19:41
by Roya
Hi,

I've been using Xampp for about 8 month, for test driving wordpress. It's always been working just fine until today that it just doesn't seem to want to start. When I try to start Appache, I get "Attempting to start Apache service..." and nothing else happens. When I try to run MySQl, it does start but then I get the "shutdown" unexpectedly error.

Tried changing the port ID, didn't work. How can I solve this? ... that test wordpress website is months of time and effort.

Thanks.

Roya

Re: Appache remains in "Attempting to start Apache service..

PostPosted: 09. October 2015 20:14
by Altrea
Hi,

Any Windows event log entries?
Ever tried to start Apache without service?
Ever tried to start Apache with apache_start.bat script?

best wishes,
Altrea

Re: Appache remains in "Attempting to start Apache service..

PostPosted: 09. October 2015 20:26
by Roya
Nope, I don't actually know how to do those things. Could you please let me know how? I'd appreciate it.

P.S: I'm a civil engineer, not really familiar with Xampp

Re: Appache remains in "Attempting to start Apache service..

PostPosted: 09. October 2015 20:33
by Altrea
The easiest thing would be to execute (by doubleclick) the \xampp\apache_start.bat script and tell us what response you get. This can be done even the Windows service is registered.

Re: Appache remains in "Attempting to start Apache service..

PostPosted: 09. October 2015 20:52
by Roya
This is what I get:

Syntax error on line 37 of C:/Users/.../xampp/apache/conf/httpd.conf: ServerRoot must be a valid directory

Apache could not be started

Re: Appache remains in "Attempting to start Apache service..

PostPosted: 09. October 2015 21:25
by Altrea
You installed XAMPP into your users directory, that is not recommend.
open the mentioned file and tell us which value the setting ServerRoot has.

Re: Appache remains in "Attempting to start Apache service..

PostPosted: 30. October 2015 22:54
by Roya
here:

ServerRoot "C:/Users/nonezzzzaol.com/Documents/xampp/apache"

Re: Appache remains in "Attempting to start Apache service..

PostPosted: 31. October 2015 00:48
by Roya
OK, so I went and changed all the directories in all the Apache and MySQL files. Now these two work perfectly but when I try to access my Wordpress test-drive site, I get this message:

"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

Now what do I do?!