Public Pages by Gerry
How to set up phpEclipse
Page owned by - Gerry
How to set up phpEclipse


To-dos

Step by step
  • Extract eclipse onto your hard drive
  • Extract phpEclipse into the folder that you just created
  • Open Eclipse
  • Specify a location for the default workspace
  • Click on the workbench icon to launch the main part of the application
  • In the top right of the window you should see something a button with the word "java" on it and another button to it's left. This is the perspectives area and the default perspective is Java, but you want PHP.
  • To set the perspective to PHP, click on that button to the left of the Java one for opening a new perspective
  • You should see a dropdown list, but PHP isn't on that so select "other"
  • Select PHP from that list and then hit OK
  • Now you're all set up. Next we create a php project by click on the "new" button (which is near the top left of the window)
  • In the "new" dialog box select the php and then "php project"
  • Give the project a name and then hit finish
  • right click on the new project folder that you just created and hover over "new" and then select "php file"
  • Give the php file a name and then hit "finish"
  • Start typing your PHP code in the code window and as soon as you make a syntax error you will spot it.
  • Happy debugging!