Thursday, September 3, 2009

PHP Installation Got 404 error

I have successfully installed WAMP server in my local machine.
Excited to test the installation when I hit http://localhost , I was disappointed to get a big fat 404 Error page !!
Too bad !! What went wrong.
Google it out.. to my surprise.. The culprit was "Skype" (yes, the voip messenger).
Actually Skype by default uses port number 80.
So, it was running previously in my machine, thats why when I tried to open the default testing page for WAMP server, (which also runs in its default port no. 80) I got the 404 error page.
404 means, server is running, but couldnt listen you.
So, I quit skype and restarted WAMP server.
Hurray !!
I got a decent welcome (configuration) page as below:

Wednesday, September 2, 2009

Where to start..

I have already owned a website with PHP support.
But still for my local developement, I need some web server with PHP support, so that I can run the PHP files in my local machine.
So hunt begins for free php supporting web servers..
Found many..
But all recommended "Apache web server".
But if I go with apache as single install, then I have to install PHP and a database (MySQL) manually for sure.

Then, I got a server (WAMP Server) which on install will give all the three (apache, php and mysql) automatically installed on your machine.
Lets see.. whats next..

Started to learn PHP

I have just started to learn PHP. 
Although I am Java J2EE developer, then what made me to learn PHP!!

My current project required to know some PHP basics.
Then I wanted to creat a website of my own. But when I started to look for cheap (affordable) JSP Java Servlet web hosting. What I got in google search.. thousand of results.. Buts related results are few..
After a long research on Java web hosting. I am surprised to see that Java Hosting is so expensive as compared to PHP or .Net hosting.
When  php webhosting you can get as low as $1.99, Java hosting comes low as $8-9.
So, the journey began.. got enough motivations to learn a new programming language, "PHP".
Its exciting and interesting.. lets see..