Page 1 of 1

MySQL and Apache not running

PostPosted: 23. August 2012 17:48
by Sculley
I'm trying to run WP locally on my machine. It used to work just fine but it has been several years since I've started it up.

When I open xampp-control.exe and click "start" for Apache and MySQL in the bottom it says "started" for both services but it doesn't say running at the top next to "Apache" and "MySQL". Then, when I go to localhost in my browser I get an error message (Oops! Google Chrome could not connect to localhost or Firefox can't establish a connection to the server at localhost.). What am I doing wrong?

I checked the xampp-portcheck.exe and all ports are free.

Thanks so much in advance.

Re: MySQL and Apache not running

PostPosted: 23. August 2012 20:03
by JonB
It surely would be useful to know the XAMPP version.

:?:

Re: MySQL and Apache not running

PostPosted: 24. August 2012 03:42
by Sculley
Sorry.....version 1.7.3

Re: MySQL and Apache not running

PostPosted: 24. August 2012 11:34
by JonB
You should look in the Apache error log for starters. \xampp\apache\logs\error_log.txt

Other considerations - did you install new AV/Firewall software?

Good Luck
8)

Re: MySQL and Apache not running

PostPosted: 24. August 2012 12:32
by Sculley
It's strange...the error log only has errors from 2010.

I turned off my AV program (BitDefender) but it still doesn't work.

Re: MySQL and Apache not running

PostPosted: 24. August 2012 15:28
by JonB
The 'empty' error log - That means Apache is not starting at all

What Windows version are you using?

Look in your Windows event viewer System log to see if anything is crashing.

You might want to DL the latest XAMPP Control Panel. AFAIK it should work with your version OK. It has much better diagnostics.

you can DL it here" http://xampp.statusnull.com/CPv3/CPv3.0.11.7z

Copy the files into your XAMPP folder & fire up. It may actually tell you what is wrong.

Good Luck
8)

Re: MySQL and Apache not running

PostPosted: 24. August 2012 15:46
by Sculley
I'm using Windows 7.

I tried DLing the latest version the other day but it didn't install correctly. There was no control.exe so I tried the old one. The control at least starts up.

Okay, let me try copying the files into folder.

Re: MySQL and Apache not running

PostPosted: 24. August 2012 15:49
by Sculley
Just downloaded the files you suggested. Still not running. Both services say "Starting apache service..." but next to them it's not saying "running" and localhost in browser still an error.

Not sure where the Windows event viewer system log is?

Re: MySQL and Apache not running

PostPosted: 24. August 2012 17:20
by JonB
My computer > right click, manage > Event Viewer > WIndows logs

Good luck