Content

Sunday, November 17, 2013

Fix WAMP Comman Errors

Lot of ppl complained that when the WAMP Server installed it won’t run on the PC and makes some errors and when they try to run the localhost they will get error report as below today im going to discuss the common errors and how to fix those errors and the steps that you can find the error

First after you have installed the WAMP Server if you see the red icon that’s mean you Apache Server is not running (to run the PHP and MySQL plugging you need the Apache http Server run properly) the common problems are

  1. You don’t have proper runtime environment have installed
    1. Compatible C++ redistribute package for your APPACHE and System Version
      • If you using Win XP x86 (32 bit PC architecture) this means you need C++ x86 redistribute package and also if you using new version of WAMP u also need c++ re.pak. 2008 and the 2010 both installed in the PC
      • And if you use win 7 or win vista check your system architecture by right clicking your My computer icon -> select Properties to find system architecture in system information window If it says x64 you need x64 c++ red.pakg
      • And depending on your system download your WAMP version x86 or x64 from the web site
    2. Then if you still have the red icon on the W on WAMP go click on the
      WAMP icon-> Appache -> Services -> test port 80 and you will get black screen telling you is someone using your port 80 or not, if someone(someone means another program lol ) using the port you can’t activate the WAMP you have to shut down the software service
      in this case my port is no one uses’ so I can go to 4th step but if your PC port using some program(u can see the program name in above window if someone does) u have to close it and if it is a Services, you have to go to the System Services and disable its service to be able to start the WAMP services

    3. Disabling service is bit risky but you have to do that if you have tons of developing software running on one PC and you can go to Services, Start -> Control Panel -> Administrative Tools -> Services you will get the window like below
      And find the program and kick his ass (just disable it :-p) right click on the name of it and select stop (do this with own risk I’m not responsible of anything stupid u do) and go to WAMP icon click on it and select restart all Services if you correctly stopped the program that used u will get the orange W icon displaying your Apache is running properly and if communication is success true port 80

    4. If it’s still not and you have successfully stopped or there is no program owned port 80 go to WAMP -> click on it -> Apache -> Services -> install service and then go to first try WAMP -> Apache -> Services -> start/ resume Services then try all together WAMP icon -> restart all Services now you can see the orange icon or green W icon if you can’t see the green icon that means your WAMP program is not installed successfully on the system (actually the system plugging/service for PHP or My SQL)

    5. Let’s check if the PHP is installed successfully, go to WAMP icon -> localhost and I will load in the browser and also remember to give access permission permanently for the WAMP if your Firewall Asked
      And now the browser will load WAMP localhost main page
      If you can see this that means your PHP Plugging/Service working properly with Appache

    6. Now let’s find out y the hell green icon won’t appear? It’s about MySQL so let’s check is MySQL work or not go to WAMP icon -> PHPMyAdmin and if you see blank screen on browser that’s mean your MySQL service is not installed properly or you will see the PHP my admin you gud to go

    7. If you see the blank screen on browser let’s fix MySQL go to WAMP icon -> MySQL -> Services and it will install Services on Apache and then go to WAMP icon -> MySQL -> start/ resume Services then probably you will see the green W Icon now that’s men you are good to go try WAMP Icon -> phpMyAdmin you will see the below screen or similar in your browser

    8. But if you stll see the blank screen or error page like this
      What the hek was this mean? Go and try WAMP icon -> restart all Services and go to WAMP Icon -> phpMyAdmin if you see the PHP my admin now you good to go what if still you seem the error page? You need to configure MySQL ini file to set those values Hm is that it? no if you have above error its little bit tricky to fix it first, what you have to do is
      • Exit from WAMP server, right click on WAMP icon -> exit
      • Search your whale computer for file “my.ini” without double couts and delete it
      • Then start WAMP from start menu
      • Let the button go greenand go to WAMP -> Services -> remove Services
      • Then go to WAMP -> Services -> install Services
      • Then go to WAMP -> Services -> start/resume Services
      • And go to WAMP -> phpmyadmin
      • If you still see the blank or error window put the curser on the click several time and refresh the browser using F5 or refresh button on the browser you will get the phpmyadmin and now you r good to go
      • If its not work do it several times after re-starting pc it will work

    9. If still you are unable to fix this error uninstall the WAMP, Go to the installed folder (WAMP), Delete it completely, Re start the PC and Re-Install the Wamp again in Different location and try, if still it wont work then just forget it already he he

    10. If You have Removed Directory and you cant install WAMP and Run it Again download any registry cleaner (plz find trustworthy one or it will crash your system ) and run it will fix your registry problem and will make able to re-install and work with WAMP