Thursday, August 23, 2012

Awful day with WampServer

Today I stayed at home because two days ago Malaysia held Feter Eid or in Malay Hary Raya. This is the celebration of ending Ramadan (fasting month for Muslims). Based on Malaysian calendar they should have two official holidays for Hary Raya. However, unofficially they have around one week holidays. Nice but I really I do not know how they improve?! They have a lot of official and unofficial holiday and each province have some extra holidays also. I am wondering how Malaysia progress?! They are always in holly day :).

Anyway, because of Hary Raya, university is off and finding some food over there is very difficult. Especially when you do not have vehicle. I stayed at home to complete my work here. As I told you I should design a card sorting questionnaire for some IT experts. I am implementing it with PHP and MySQL. Because you need Apache webserver, MySQL and PHP, it is much easier to install Wamp server to have all of them. Actually wamp server compact these three tools for people who need them and you can install them together. You can find WampServer here.

Installation is very easy and fast. I install it at my PC in University lab. Today I stayed at home and I wanted to install it on my laptop too. I installed and its icon become green and it showed that everything is fine. I was happy and ready to write some code. Suddenly, when I wanted to open Phpmyadmin page, nothing happened! Even it could not load localhost! It was only a blank page without any error! WoW, why? I knew that some times it happens because of port conflict with other software like Skype or IIS (Microsoft web server). However, I did not have anyone of my computer. It was strange for me.

I did some search on the Google and I read some suggestion but they did not work at all. For several times I install and uninstall different versions of Wamp server but nothing changed. I checked if my browser use proxy or not! Even I used command prompt: netstat -oaa to see which applications using port 80. The only one was Apache! Maybe around six hours I wasted my time to solve it. Another guy also had my problem and requested help at Wampserver forum but finally no one could help him.

Eventually, I format one of my partition and installed new Windows and it solved. Yeap. the best way of  solving problem is removing the question! It was a joke. Unfortunately I wasted a lot of time and the worst fact was that not only I could not help this problem, but also I did not understand why and when it happens! Some times a small thing can postpone a big project very ridiculously.

If anybody know the solution, please put a comment and teach me. Thanks.

No comments:

Post a Comment