First lets install Eclipse
sudo apt-get install eclipse
Once installed open Eclipse then go to “Help->Install New Software”, from the options “Work with:” chose one, in my case the only one available was “Indigo Update Site – http://download.eclipse.org/releases/indigo/” once selected, click on search an select “PHP Development Tools (PDT) SDK Feature”