I have a clean Eclipse Java SDK. I would like to make it suitable for developing PHP applications. So I need a PHP IDE plugin (or something like that). How could I install it from the Eclipse environment?
10 Answers
Easy as pie:
Open Eclipse and go to Help-> Software Updates-> Find and Install Select "Search for new features to install" and click "Next" Create a New Remote Site with the following details:
Name: PDT
URL: http://download.eclipse.org/tools/pdt/updates/4.0.1
Get the latest above mentioned URLfrom -
http://www.eclipse.org/pdt/index.html#download
Check the PDT box and click "Next" to start the installation
Hope it helps

- 397
- 4
- 11

- 21,468
- 11
- 68
- 93
-
I can't see any software except Zend CE Features > Zend Debugging feature. :( – Kirzilla Mar 07 '10 at 21:18
-
1Glad it worked out for you. Will update the URL for future reference :-) – Marcos Placona Mar 07 '10 at 21:31
-
The URL has changed to the one in guy schaller's answer. – ThomasCle Apr 06 '13 at 08:10
-
I think you're on to something here. – Flat Cat Oct 26 '14 at 19:44
-
For newer versions, the path is Help -> Install New Software... and the link is `http://download.eclipse.org/releases/[name of your version]`, i.e. `http://download.eclipse.org/releases/mars` for the Mars release. – ndm13 Dec 30 '15 at 18:48
-
The URL that worked for me was [link] (http://download.eclipse.org/tools/pdt/updates/3.7) – Andrés Meza-Escallón Apr 04 '16 at 00:09
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.

- 30,738
- 21
- 105
- 131

- 36,924
- 42
- 155
- 176
-
1Instead of PDT, you can also use "Aptana Studio" in eclipse for PHP – Ripon Al Wasim Jan 29 '13 at 08:48
-
I changed from Aptana 3 to PDT because Aptana customizes Eclipse to a point where it's barely usable if you're used to Eclipse's default setup (which I use with both Java and C++). – aggregate1166877 Oct 20 '14 at 13:30
Open up eclipse, go to "Help -> Install New Software". Enter:
entry from the "Work with" dropdown.
Under the "Web, XML, Java EE and OSGi Enterprise Developmet" category, select "PHP Development Tools (PDT) SDK Feature 3.1.1.201209101312".

- 1,093
- 3
- 17
- 35
The new URL for the repository is now http://download.eclipse.org/tools/pdt/updates/release. In Eclipse: open Help -> install new sofware -> add. Then paste this URL in the location.
Mark the check boxes you want and click next.

- 30,738
- 21
- 105
- 131

- 4,710
- 4
- 32
- 54
Help --> Install New Software In work with select box , only I have selected Kepler - http://download.eclipse.org/releases/kepler And then under Programming language category you can find PHP Development tool.
fyi :I have ubuntu

- 896
- 9
- 10
-
your welcome , but that is good just for this version I cannot say what is solution in next version of eclipse – masoud2011 Jun 05 '14 at 15:26
-
1The currently newest version of the URL is http://download.eclipse.org/releases/mars/ – Rune Jul 21 '15 at 20:25
The best solution would be to go to http://projects.eclipse.org/projects/tools.pdt/downloads where you will find the URL to the most updated PDT, as most of the URLS listed above are hitting a 404. Then pasting the URL to eclipse.

- 2,502
- 2
- 23
- 26
Easiest Way To install PDT
- Run eclipse
- Click on "Help", "Install New Software"
- “Choose all available sites”, in search box type "php"(takes a while to load)
- => “programming languages” => "PHP Development Tools", => PhP Development Tools (PDT) SDK Feature.
- Restart eclipse
- File new => other => php .
- Should be able to follow from their

- 346
- 4
- 8
The URL which worked for me is http://download.eclipse.org/tools/pdt/updates/2.0/interim/.
See also Stack Overflow question Installing PDT in Eclipse - No runtime option .. only SDK.
Eclipse for PHP Developers Package
Looking for the Eclipse for PHP Developers Package?
Due to lack of a package maintainer for the Indigo release there will be no PHP (PDT) package. If you would like to install PDT into your Eclipse installtion you can do so by using the Install New Software feature from the Help Menu and installing the PHP Development Tools (PDT) SDK Feature from the Eclipse Indigo Repo >> http://download.eclipse.org/releases/indigo
Text grabbed from page: http://www.eclipse.org/downloads/php_package.php

- 403
- 1
- 3
- 12
Updated for 2019: As previously suggested, in the latest Eclipse, go to "Install New Software" in the Help Menu and click the "add" button with this URL http://download.eclipse.org/tools/pdt/updates/latest/ that should show the latest release of PHP Development Tools (PDT). You might need to search for "php" or "pdt". For Nightly releases you can use http://download.eclipse.org/tools/pdt/updates/latest-nightly/.

- 575
- 2
- 10
- 26