To install PDT (PHP Development Tools) for PHP development environment is better in Eclipse. The following are the steps to install PDT in Eclipse (I'm considering version 3.7 (Indigo)):
- Open Eclipse (in my case Eclipse Indigo).
- Go to Help --> Install New Software...
- Expand the "Work with" drop down and select "Indigo - http://download.eclipse.org/releases/indigo".
- Expand "Programming Languages" from the list.
- Check PHP Development Tools (PDT) SDK Feature.
- Click "Next >" at the bottom and follow the further instruction of Eclipse.
- After successful installation of PDT: Go to Window --> Preferences and see the list as PHP at left panel.