EasyPHP on 64 bit Windows 7: How to fix Apache and MySQL problem

September 20th, 2009

EasyPHP on Windows 7

EasyPHP on Windows 7


Apache

I am accustomed in using EasyPHP on a Windows platform. Installation, running, and configuring it is always a breeze (on Windows XP that is). Recently I’ve installed Windows 7 RTM on my MSI notebook and installed EasyPHP 5.3.0, though the Installation goes flawlessly but then when I launch the stack software, Apache wouldn’t start.

I turned off the firewall but no luck. So I did a search on google, again no luck with Windows 7 specific solution but I found one for Windows Vista. I tried it anyway, then BAM! It worked! I finally got Apache to start, tried opening the local default web and it worked perfectly. Here’s the error message and how to fix it:

Apache cannot be runned: another Web server use the Web port
or port is blocked by firewall.
  1. Click the EasyPHP icon beside “Apache” button.
  2. Click “Configure” then click “EasyPHP“.
  3. Uncheck “Check server’s TCP port before starting” then click “Apply” button and then “Close” button.
  4. Click “Apache” button and then click “Start“.

That would fix the “Apache cannot be runned…” problem.

MySQL

Got the Apache server to work but after I closed EasyPHP and run it again, I’m hit with another error message:

Unexpected end of MySql... See log file?

Now it’s from MySQL. After a few head scratching and inspection. And then it hit me! I figure that must be a permission problem. So I changed my user’s permission for the EasyPHP directory and Viola! MySQL finally start. Solved the MySQL problem. Here’s what I did:

  1. Go to “Computer“, open/view Drive C, then double click “Program Files (x86)“.
  2. Right click on “EasyPHP5.3.0” folder then click “Properties“.
  3. On “Security” tab click “Edit…” button.
  4. Select the user that you are currently using.
  5. Under “Permissions for Users” box, tick “Full control” on “Allow” column.
  6. And then click “OK” button to apply the changes.

Now you’ll be able to start MySQL server by clicking “MySQL” button on EasyPHP dialog and then click “Start“.

Hope this helps!

Share this Post

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati

Tags: , , , ,

47 Responses to “EasyPHP on 64 bit Windows 7: How to fix Apache and MySQL problem”

  1. Xixixao says:

    Thanks a lot man, saved my time!

  2. fre says:

    Thanks, works like a charm!

  3. mimim says:

    WOW thanks you so much, i hate windows for that, too much restrictions,
    thanks again for the trick

  4. Rollaz says:

    Big thanks! worked for me too ;)

  5. loki says:

    thanks man, this really works!

  6. Ramin Firooz says:

    I translated this article into Farsi (Persian) and published in my blog ( http://bit.ly/EW1iG )
    Thank You :)

  7. Sir No Bull says:

    Mimim:

    How is it a Windows problem, when one has to set proper directory rights? Wouldn’t Unix / Linux barf if you didn’t allow the user account to have proper access to the directory structure.

    I actually have been using all flavours of Windows, and did not believe the first reports about Windows 7 (being a great OS). Well, it is, specially when you go to Professional and above - worth ever penny. I believe that Apple being hit by Microsoft’s Windows 7, and by Google’s Android is in a big trouble… IMHO.

  8. Maicon says:

    Thanks man. It Works in Windows Vista 64bits too.

  9. alin says:

    OMG! Thanks! Very much!

  10. Joe says:

    Got it up and running on my 64 bit..

    But I can’t view my site locally. I get a “The Connection was Reset”
    Any ideas?

  11. Peter says:

    Thank you so much! Will spread the word!

  12. Thanks you a LOT!!! THANKS IT WORKS PERFECT for Windows Vista!!! THANKS!

  13. beni says:

    thanks man

  14. Daniel says:

    Tnx man it´s working!!!

  15. Mogyi says:

    Big tnx it´s working!!!

  16. linda says:

    Solved this just by running as administrator. Right click programme icon in the start menu, under the short cut tab select advanced, put a tick in the run as administrator, go through the usual administrator confirm and done and dusted.

  17. KK says:

    Thanks Linda - this did the trick for me too… just run as administrator. Didn’t have to do any other changes!

  18. huevos says:

    thank you!
    worked for me on windows vista.

  19. Paul says:

    Thanks man!!!!Very good work

  20. Paula says:

    Thank you so much, works great!!

  21. serhanco says:

    Dude, thank you so very very much! Always keep up the good work man…

  22. Ibraim says:

    Thank you for your help. -> Agradeço por sua ajuda!

    The problem was the permissions.

  23. Ibraim says:

    My system is 32bits and had the problem in MySQL.

  24. kang says:

    thanks, it’s really help me.

  25. Emmanuel says:

    Thanks, worked great !

  26. IVI-R3za.M says:

    thank you man! very nice help

  27. Ali says:

    Hey bro,
    Thank you so much.

  28. WebGuy says:

    Saved my life man… thanks!

  29. Me says:

    Thank you!

  30. Turan says:

    it works great! thanks for sharing

  31. Jujubee says:

    awesome thanks so much. I thought I was going crazy.

  32. Tee says:

    Incredilbe :) Thank you soooo much!
    Finally i can use my win7 without switching back to xp for easyphp
    Thanks :)

  33. Annabel says:

    Thanks a lot! 1 hour searched before finding solution! (excuse my english language, i’m a french new webmaster…)

  34. X says:

    You saved my life, man. Many thanks!

  35. igor says:

    Thank’s bro!!!

  36. John S. says:

    I really appreciate this wonderful posting you have given for us. I confirm this is beneficial for most people.

  37. Thibaut says:

    Nothing else to say… Thanks buddy!!!!

  38. Thibaut says:

    Here is what I did :
    uninstall easyphp.
    click right on “EasyPHP-5.3.2-setup.exe” and => ” execute as an administrator”.
    It worked perfectly!
    by

  39. Thanks for the guide, helped me solving a problem that have bothered me for some time now.

  40. Elena says:

    Thank You! It helped!

  41. Paul J says:

    Thanks! Worked great.

  42. Samson Joel says:

    Asante sana….Thanks very much…………

  43. Vinny says:

    Excellent post, saved me a ton of time.

  44. Reese says:

    Thank you!

  45. felipe says:

    muito obrigado
    thanks guy

  46. lolamai says:

    thank you! it works

  47. Agnes says:

    This was not enough to work for me
    Am on Windows 7 integral 64 bits

    Bur I found here the answer
    http://www.cameroncooke.com/2009/01/25/windows-7-uses-port-80-and-makes-it-impossible-to-install-apache-solution/

    Fred :
    1. Get pid that is listening port 80: netstat -nao | find “:80″
    2. Open task manager, go to processes tab and check “PID” on menu/view/Select Columns…. then you can find out the progress with that pid.
    3. If it is a normal application or IIS, just disable or uninstall it.
    4. If it is System progress(PID 4), you need to disable HTTP.sys driver which is started on demand by other service, such as Windows Remote Management/Print Spooler on Windows 2008 or Windows 7. there is two way to disable it:
    a.
    1) Go to device manager, select “show hidden devices” from menu/view, go to “Non-Plug and Play Driver”/HTTP, double click it to disable it (and disable or manual some services depended on it).
    2) Reboot and use netstat -nao | find “:80″ to check no 80 is used.
    b.
    1) Launch RegEdit
    2) Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP
    3) Change the value of ’start’ to 4 (disabled)
    4) Re-boot your computer

Trackbacks/Pingbacks

  1. Installing EasyPHP on Windows 7 » withinweb
  2. EasyPHP on Windows 7 » withinweb
  3. Rudy’s Krabbels » Blog Archive » EasyPHP werkt niet onder Windows7 (fix!)

Leave a Reply