Page 1 of 1

[solved]XAMPP 1.7.4 MySQL and PHP deactivated

PostPosted: 02. May 2012 18:23
by vernb
I've have tried so many different things!

The problem is that I have installed XAMPP 1.7.4 (32bit) on Windows 7 and both Apache and MySQL are running according to XAMPP Control Panel and they are listening to their corresponding ports BUT when I go to XAMPP Status, PHP and MySQL are both shown as deactivated. The big problem is that I cannot access phpMyAdmin!

Before you ask - I uninstalled Skype a few restarts ago!

Any suggestions will be very much appreciated - especially those that work!

Thanks
Vern

Re: XAMPP 1.7.4 MySQL and PHP deactivated

PostPosted: 03. May 2012 14:02
by JonB
A. - Which Control Panel version are you using.

B. - What is the error you are getting when you try to run phpMyAdmin??

C. - How are you trying to access phpMyAdmin?

8)

Re: XAMPP 1.7.4 MySQL and PHP deactivated

PostPosted: 03. May 2012 22:08
by lg1
hi did you get this sorted
iv had same prob for 2 days and solved now - link here

http://community.apachefriends.org/f/viewtopic.php?f=16&t=50472#p194393

Re: XAMPP 1.7.4 MySQL and PHP deactivated

PostPosted: 06. May 2012 12:18
by vernb
JonB wrote:A. - Which Control Panel version are you using.

B. - What is the error you are getting when you try to run phpMyAdmin??

C. - How are you trying to access phpMyAdmin?

8)

Hi Jon

Have tried again. Uninstalled 1.7.4 and installed 1.7.7 on my D drive. When I go to the control panel and start Apache it's ok - it says "Busy" in the dialogue and then "Apache stared Port 80". The Green running indicator shows.

Then when I start MySQL it says "Busy" then "MySQL started Port 3306" but Apache appears to stop as the Green Running indicator goes off and MySql Running indicator flicks on and then almost immediately off.

Localhost won't even start never mind phpMyAdmin!

I have tried many things, including installing other AMP such as WAMP and AMPPS and get similar things happening.

The most common error I get when trying to access phpMyAdmin (when Apache does run) is #2002.

I really need to be able to run XAMPP as I am working on a number of CMS sites now and it would be so much easier to run them locally especially as I have Dreamweaver 5.5 (soon to be upgraded to cs6).

I have quit from the XAMPP control panel and tried v3.0.2 and when I click on Start for apache it says "Starting Apache..." but nothing else ... same with MySql. Netstats show neither are working i.e. nothing on ports 80 or 3306.

HELP!!!!!!

Thanks
Vern

Re: XAMPP 1.7.4 MySQL and PHP deactivated

PostPosted: 06. May 2012 12:20
by vernb
lg1 wrote:hi did you get this sorted
iv had same prob for 2 days and solved now - link here

http://community.apachefriends.org/f/viewtopic.php?f=16&t=50472#p194393



Thanks for the suggestion but it made no apparent difference.

I'm really at a loss as to what to try!

Any other suggestions would be greatly appreciated - especially if they work! :D

Thanks
Vern

Re: XAMPP 1.7.4 MySQL and PHP deactivated

PostPosted: 06. May 2012 16:03
by vernb
vernb wrote:I've have tried so many different things!

The problem is that I have installed XAMPP 1.7.4 (32bit) on Windows 7 and both Apache and MySQL are running according to XAMPP Control Panel and they are listening to their corresponding ports BUT when I go to XAMPP Status, PHP and MySQL are both shown as deactivated. The big problem is that I cannot access phpMyAdmin!

Before you ask - I uninstalled Skype a few restarts ago!

Any suggestions will be very much appreciated - especially those that work!

Thanks
Vern


I have finally solved it with a bit of this and a bit of that from other similar postings.
Here's what I did.
Uninstalled XAMPP 1.7.7
Deleted the folder XAMPP
Rebooted
Then I installed XAMPP 1.7.7 on my D Drive
Ran XAMPP as administrator
I installed Apache and MySql as services (not sure that made a difference!)
Then went to the MySql my.ini file:
C:\xampp\mysql\bin\my.ini
I removed # from bind-address = "127.0.0.1"
Then I opened C:\Windows\system32\drivers\etc\HOST where it had
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
127.0.0.1 localhost
and I removed all but one!
And now I can access phpMyAdmin! YES!!!!!
Thanks to everyone, especially Sharley.
Vern