Bookmark and Share


Fix most common Apache and MySQL errors in EasyPHP

By: Ishank Badhani , Apr 26, 2010




EasyPHP is mostly used by Blog gers and Webmasters to install WordPress on local computer. Installation of EasyPHP on Windows goes flawlessly but people generally get into trouble when  EasyPHP software such as Apache and MySQL do not start properly and display error messages.

Error 1  (Apache port conflict ) – Apache cannot be run: another Web server use the Web port or port is blocked by firewall.

Error 2 (MySQL incompatibility) – Unexpected end of MySql… See log file.

Are you facing a similar problem ? Here’s how you can diagnose and fix the problem.

Diagonose and fix MySQL error

Fix 1 »  Turn Off the firewall and then try to start EasyPHP.

Fix 2 » By default the Apache port is set to 127.0.0.1:80, so make sure other applications  Skype  or IIS is not using the same port. Typically,this error raised due to Skype or IIS installed on your PC.

Type localhost on address bar and press enter. If you see the of  IIS website shown in the screenshot below. It indicates that IIS is using the Port 80 .You can easily  disable IIS on your PC . To turn off IIS on Windows Vista or Windows 7, Go to Control Panel >Programs. Click on “Turn Windows Features on  or off ”. Uncheck the check box for  “Internet Information Service”. Click on “ok”, it will take couple of minute to make change in settings and configurations.

IIS on windowsturn windows features on or off

Skype  use the Port 80 and can prevent other applications which require such port from working properly.You  can make your Skype to  use different Port. In order to change Skype from Opening and Listening  on Port 80 and 443 on Local Computer , Go to Skype Tools >option>Connection. Uncheck the check box  for “ Use port 80 and 443 as an alternatives for incoming connections option” . Click on Save button and then restart Skype.

These two programs in execution are usually responsible for Apache Port conflict error in EasyPHP. For more accurate approach in order to Check and Identify which Application is Listening or Opening Port 80 on Windows, this tutorial may help you alot.

Fix 3»  Still, if you are facing problem then you can either force EasyPHP not to perform check TCP port before starting or make EasyPHP to use another Port instead of Port 80 .easyphp

Watch  this video tutorial to Change default EasyPHP  Port 80. Alternatively, press “Ctrl+E” and  you can see a pop-up window or  go to Configuration>EasyPHP. Uncheck the “Check Server’s TCP port before starting” and press “Apply”. Then, Restart EasyPHP again. This will insist EasyPHP not to check the TCP port.

Diagonose and fix MySQL error

Fix 1»  MySQL Error arises due to  permission problem. So, you change user’s permission for the EasyPHP directory to solve the MySQL problem.

To fix MySQl error, Right click on “EasyPHP” 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. Thanks mercoledì .

If all these methods not helping  you to fix errors then you can contact an EasyPHP expert or post your query to the EasyPHP Forum.




Bookmark and Share


RECOMMENDED FOR YOU