Wednesday 23 September 2015

Setting up WAMP and Eclipse for PHP(PDT)

For web development I have used many editors ranging from simple Notepad++, Sublime Editor to a little complex but very useful Adobe Dreamweaver.

The other day I was just checking out some good IDE's for PHP development and I came across Eclipse PDT and found it quite useful.

Download PDT
Download WAMP

Most of us after extracting and running Eclipse PDT come across this error 404 while trying out the helloworld program on localhost in PDT.



 and the simple reason is because we don't have a server running.

The easiest way to get this running(or develop PHP programs on Windows) is to install WAMP.

  • Install WAMP
  • Download Eclipse for PHP(PDT)
  • Extract PDT and run the eclipse.exe
A dialog will appear to set the workspace for your project
  • Change the path to 'C:\wamp\www'




  • Click on OK
  • Now minimize the eclipse window and start WAMP which will automatically run the Apache Server.
Now you are all set with WAMP and PDT. 

You can now build your first PHP project and run it successfully without 404 error. :D









No comments:

Post a Comment