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

  1. Open Synaptic Package Manager (System->Administration->Synaptic Package Manager)

  2. Find the package "eclipse" and mark it for installation
  3. Click Apply

Install PHP Development Tools (PDT)

  1. Open Eclipse and specify your workspace (Applications->Programming->Eclipse)

  2. Help->Install New Software

  3. Select the Galileo Update site
  4. Select the PHP Development Tools (PDT) Feature
  5. 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.
    1. Name: PDT – PHP Development Tools

    2. URL: http://download.eclipse.org/tools/pdt/updates/

  • 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.
    1. 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.


EclipsePDT (last edited 2012-10-04 07:50:28 by cweiske)