EasyPHP on 64 bit Windows 7: How to fix Apache and MySQL problem
September 20th, 2009
EasyPHP on Windows 7
Apache

EasyPHP on Windows 7
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.
- Click the EasyPHP icon beside “Apache” button.
- Click “Configure” then click “EasyPHP“.
- Uncheck “Check server’s TCP port before starting” then click “Apply” button and then “Close” button.
- 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:
- Go to “Computer“, open/view Drive C, then double click “Program Files (x86)“.
- Right click on “EasyPHP5.3.0” folder then click “Properties“.
- On “Security” tab click “Edit…” button.
- Select the user that you are currently using.
- Under “Permissions for Users” box, tick “Full control” on “Allow” column.
- 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!
47 Responses to “EasyPHP on 64 bit Windows 7: How to fix Apache and MySQL problem”
Trackbacks/Pingbacks
- Installing EasyPHP on Windows 7 » withinweb
- EasyPHP on Windows 7 » withinweb
- Rudy’s Krabbels » Blog Archive » EasyPHP werkt niet onder Windows7 (fix!)
Leave a Reply
Pages
Categories
- Apache (1)
- CSS (2)
- Database (2)
- Development (9)
- Gadget (3)
- Google (4)
- How-To (16)
- HTML (2)
- Internet (4)
- JavaScript (2)
- Linux (15)
- Music (3)
- MySQL (2)
- PHP (4)
- Python (1)
- Sport (1)
- Subversion (4)
- Uncategorized (3)
- Windows (6)
- Wordpress (2)
Archives
















Thanks a lot man, saved my time!
Thanks, works like a charm!
WOW thanks you so much, i hate windows for that, too much restrictions,
thanks again for the trick
Big thanks! worked for me too
thanks man, this really works!
I translated this article into Farsi (Persian) and published in my blog ( http://bit.ly/EW1iG )
Thank You
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.
Thanks man. It Works in Windows Vista 64bits too.
OMG! Thanks! Very much!
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?
Thank you so much! Will spread the word!
Thanks you a LOT!!! THANKS IT WORKS PERFECT for Windows Vista!!! THANKS!
thanks man
Tnx man it´s working!!!
Big tnx it´s working!!!
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.
Thanks Linda - this did the trick for me too… just run as administrator. Didn’t have to do any other changes!
thank you!
worked for me on windows vista.
Thanks man!!!!Very good work
Thank you so much, works great!!
Dude, thank you so very very much! Always keep up the good work man…
Thank you for your help. -> Agradeço por sua ajuda!
The problem was the permissions.
My system is 32bits and had the problem in MySQL.
thanks, it’s really help me.
Thanks, worked great !
thank you man! very nice help
Hey bro,
Thank you so much.
Saved my life man… thanks!
Thank you!
it works great! thanks for sharing
awesome thanks so much. I thought I was going crazy.
Incredilbe
Thank you soooo much!
Finally i can use my win7 without switching back to xp for easyphp
Thanks
Thanks a lot! 1 hour searched before finding solution! (excuse my english language, i’m a french new webmaster…)
You saved my life, man. Many thanks!
Thank’s bro!!!
I really appreciate this wonderful posting you have given for us. I confirm this is beneficial for most people.
Nothing else to say… Thanks buddy!!!!
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
Thanks for the guide, helped me solving a problem that have bothered me for some time now.
Thank You! It helped!
Thanks! Worked great.
Asante sana….Thanks very much…………
Excellent post, saved me a ton of time.
Thank you!
muito obrigado
thanks guy
thank you! it works
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