|
Content Cleanup Required |
|
Needs Updating |
Introduction
The PDT project provides a PHP Development Tools framework for the Eclipse platform. It leverages the existing Web Tools Project to provide the PHP development capabilities.
See : PDT Project Page at Eclipse.org
See : EclipseIDE
Installation
From Synaptic Package Manager and Update Site
The PPA is outdated and does not work anymore with 12.04
NOTE: On Ubuntu 10.10 this method will install Eclipse 3.5 (Galileo) and PDT 2.1.
Install Eclipse
Open Synaptic Package Manager (System->Administration->Synaptic Package Manager)
- Find the package "eclipse" and mark it for installation
- Click Apply
Install PHP Development Tools (PDT)
Open Eclipse and specify your workspace (Applications->Programming->Eclipse)
Help->Install New Software
- Select the Galileo Update site
- Select the PHP Development Tools (PDT) Feature
- Install...
From Yogarine's Eclipse PPA
NOTE: works on Karmic
Yogarine's Eclipse PPA contains (mostly) up-to-date packages for Eclipse and various plug-ins.
These are not *proper* packages, in that they are not compiled from source code, but created from Eclipse's own release packages. Even though this is obviously not The Right Way(TM) to package software, it has the advantage of allowing to quickly package, test and use new releases with very few headaches.
Use these packages if you are a developer that uses Eclipse, and need up-to-date Eclipse packages with as little hassle as possible.
To use it, just run as root:
add-apt-repository ppa:yogarine/eclipse/ubuntu apt-get update apt-get install eclipse-pdt
From Update Site
NOTE: does not work with Karmic (dependency problems). The "From Update Site" instructions on eclipse.org don't work either.
- Download eclipse from eclipse.org
add PDT through the Ecplise update functionality. Go to Help -> Software Updates -> Find and Install...
- Hit the New Remote Site button on the right hand side.
Name: PDT – PHP Development Tools
- Once added continue on to the next section.
- In the repository that comes up, expand the “PDT – PHP Development Tools” group.
- Just install the PDT Features package.
- PDT Features SDK is not required for normal developer use.
- Review and agree to the license agreements and step through the installation process.
- Restart Eclipse
- The PHP view is now added.