The PDT project provides a PHP Development Tools framework for the Eclipse platform. Visit the PHP Development Tools website for more information.
Version
- CentOS 5.x
- Eclipse 3.4.x
- PHP Development Tools (PDT) 2.0.x
Requirements
Install PHP Development Tools (PDT) 2.0.x
- Open Eclipse
- Select the Help > Software Updates menu option
- Select the Available Software tab
- Click the Add Site… button
- Set the Location field
http://download.eclipse.org/tools/pdt/updates/2.0/
- Click the OK button
- Expand the PDT Update Site option
- Excpand the PDT SDK 2.0.x section
- Select the following components
PDT Runtime Feature
- Click the Install… button
- Click the Next button
- Select the I accept the terms of the license agreements radio button
- Click the Finish button
- Click Yes to restart Eclipse
Activate the PHP Perspective
- Open Eclipse
- Select the Window > Open Perspective > Other… menu option
- Select the PHP option
- Click the OK button
Create a new PHP Project
- Right Click in the PHP Explorer panel
- Select the New > PHP Project option