I have just started to learn PHP.I have installed Netbeans and WampServer, now when i run a sample php code in netbeans, browser showing 404 error.i think everything installed correctly,may be its because of some connection problem with browser and netbeans,should i change something in project properties?.Could someone please help?

Hi.

  1. Make sure that WAMP Server is running, Visit http://127.0.0.1 in your browser, your should get the phpMyadmin page. If not then click on the WAMP icon in the system tray and try starting it from there.

  2. Assuming that your project lives in a folder called "myProject" in C:/WAMP/htdocs, then when you are creating a new project in netbeans, make sure the Project URL points to http://127.0.0.1/myProject

Hope this helps. happy coding :-)