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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby Roya » 09. October 2015 19:41

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
Roya
 
Posts: 5
Joined: 09. October 2015 19:28
Operating System: windows 7

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

Postby Altrea » 09. October 2015 20:14

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby Roya » 09. October 2015 20:26

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
Roya
 
Posts: 5
Joined: 09. October 2015 19:28
Operating System: windows 7

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

Postby Altrea » 09. October 2015 20:33

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby Roya » 09. October 2015 20:52

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
Roya
 
Posts: 5
Joined: 09. October 2015 19:28
Operating System: windows 7

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

Postby Altrea » 09. October 2015 21:25

You installed XAMPP into your users directory, that is not recommend.
open the mentioned file and tell us which value the setting ServerRoot has.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby Roya » 30. October 2015 22:54

here:

ServerRoot "C:/Users/nonezzzzaol.com/Documents/xampp/apache"
Roya
 
Posts: 5
Joined: 09. October 2015 19:28
Operating System: windows 7

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

Postby Roya » 31. October 2015 00:48

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?!
Roya
 
Posts: 5
Joined: 09. October 2015 19:28
Operating System: windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 133 guests