Installing PDT is relatively easy.
Install a JVM
Regardless of your operating system, you will need to install a Java virtual machine.
- If using Windows, you may already have one installed, but upgrading won't hurt.
- If using Linux, read this -- GCJ will NOT work.
Consider an IBM JDK or a Sun JDK. See below for minimum requirements. Note that if you are on a 64-bit platform and are using a 64-bit JRE, you need to use a 64-bit Eclipse build.
Eclipse 3.6 / Helios / PDT 2.2
Note: PDT 2.2 is scheduled for release in June 2010. This will install a recent development snapshot, not the final 2.2.0 release.
From Update Site
Prerequisites
- Installed and running Eclipse Classic 3.6
Installation Flow
- Open Help->Install New Software.
- Select the Helios update site and choose Eclipse PDT . When the list of existing features is populated - select 'Runtime' feature:
- Proceed with the installation by pressing 'Next', then press 'Next' again in the next screen.
- Accept the EULA when asked:
- Finish the installation. Restart Eclipse.
- After restarting switch to the PHP perspective, and you are done:
From Zips
- Download the latest PDT 2.2 Runtime + all its listed build dependencies, including Eclipse.
- Unpack Eclipse, then unpack everything else into your eclipse/dropins/ folder.
- Run the Eclipse executable file.
Eclipse 3.5 / Galileo / PDT 2.1
From All-In-One Package
- Unpack the archive file you've downloaded into the directory in which you want to install PDT.
- Run the Eclipse executable file. Start having fun in PHP world.
From Update Site (or Update Site Zip)
- Start the Install Manager.
- If you downloaded a PDT Update zip:
Help > Install New Software...
[x] Contact all update sites during install to find required software
Add... > Archive... > Browse for the PDT Update zip
Select the PDT or PDT SDK Feature
Install...
|
- You can also install PDT from the Galileo Update site:
Help > Install New Software...
Select the Galileo Update site
Select the PDT or PDT SDK Feature
Install...
|
- Install. Restart Eclipse. Enjoy.
Eclipse 3.4 / Ganymede / PDT 2.0
From All-In-One Package
- Download the latest All-In-One package that is compatible with your OS.
- This archive file includes the Eclipse environment, PDT and all the required dependencies you need to start developing using PDT.
- Unpack the archive file you've downloaded into the directory in which you want to install PDT.
- Run the Eclipse executable file. Start having fun in PHP world.
From Update Site
- Start the Install Manager. You will require three update sites to perform an install of PDT 2.0.
- Install. Restart Eclipse. Enjoy.
From Zips
- Download the latest PDT 2.0 build + all its listed dependencies, including Eclipse.
- Unpack Eclipse, then unpack everything else into your eclipse/dropins/ folder.
- Run the Eclipse executable file.
Helpful Links
Eclipse 3.4 / Ganymede / PDT 1.0.5+
NOTE: PDT 1.0.5+ requires Eclipse 3.4. For PDT with Eclipse 3.3, use PDT 1.0.3. |
- Start the Install Manager. You will require two update sites to perform an install of PDT 1.0.5+.
Eclipse 3.3 / Europa / PDT 1.0.3
- If one exists for your platform (operating system, windowing system, architecture), the simplest way to install PDT is via an All-In-One bundle.
- If installing on Linux, you can look for a package from your distro maintainter/repositories, but this is not supported by eclipse.org. If you encounter problems with such a bundle, please contact your distro maintainer.
- Otherwise, download an Eclipse SDK or Runtime Binary or the Europa JEE Bundle, then unpack it.
- Expand the Europa Discovery site to resolve dependencies. Collapsed sites will not be searched.
- Select the PDT feature(s) you want to install.
- Click the Select Required button to resolve missing dependencies.
- Install*. Restart. Enjoy.
Eclipse 3.2 / Callisto / PDT 0.7
- If installing on Linux, you can look for a package from your distro maintainter/repositories, but this is not supported by eclipse.org. If you encounter problems with such a bundle, please contact your distro maintainer.
- Otherwise, download an Eclipse SDK or Runtime Binary, then unpack it and start it up.
- Select the projects &/or components you want to install.
- Expand the Callisto Updates site to resolve dependencies. Collapsed sites will not be searched.
- Select the PDT feature(s) you want to install.
- Click the Select Required button to resolve missing dependencies.
- If it does not work, you will have to manually select dependencies.
- If that doesn't work, start over, but add more update sites. Can't find a given dependency? Try here or here.
- Install*. Restart. Enjoy.
Debugger
The PDT project does not contain server side implementation for PHP debugging and will welcome any open source or commercial implementation of the debug protocol.
PHP Executable Debugger
- Install via update site: In the main menu, select Help | Install New Software..., add the site http://downloads.zend.com/pdt and follow the instructions.
- Zend Executable Debugger - A free Eclipse plugin that adds PHP executable debug capabilities to the Eclipse environment.
PHP Web Server Debugger
Known Problems
- If after installing PDT you do not see the PDT perspective, views/editors/file associations do not work, or your get "An error occurred" messages, try restarting Eclipse with the -clean flag.
- You may find that your chosen mirror fails due to bug 203794. Until that bug is fixed, try another mirror, or try an FTP site instead of an HTTP site.
- You may encounter problems on linux with non-existant cups servers in
/etc/cups/client.conf
(bug 242677). Try running with ./eclipse -Dorg.eclipse.swt.internal.gtk.disablePrinting
.
- You may encounter this error message: Problem occurred: 'Selection Job titile' has encountered a problem. If so, you need to install DLTK 1.0.I200807181303 (or newer). Unpack the zip into your dropins folder (see From Zips above). See also bug 242947.
- Another variation reported to work: PDT 2.0.0 N20080823 + DLTK Core 0.95.0.v20080716 + DLTK RDS 0.95.0.v20080623
- If updating from a nightly build to a newer nightly, you will need to uninstall and then reinstall PDT. See bug 241341.
See Also