Installing the Eclipse PHP IDE www.majelelo.com
If you've been looking for a decent PHP editor and don't want to hassle of leaving your favourite IDE, you don't have to look any further than PHPEclipse. This article outlines how to install the plugin to your existing Eclipse environment.
I already had a working Eclipse installation that I had used to try out PHPeclipse for Eclipse (not to be confused with the PHP IDE), so I didn’t want to bother downloading a brand new full package of Eclipse that includes the PHP IDE and all its requirements. So, I set about on a tedious journey to figure out how to install PHP IDE using the Eclipse Update Manager. These are my notes.
Note: If you don’t already have a working copy of Eclipse and you want to try out the PHP IDE, then these notes are not for you. Simply download the full package and install it. Everything should work fine out of the box. These notes are for those who have a working installation of Eclipse, want to install PHP IDE via the Update Manager, and are having trouble finding all the download sites for the PHP IDE prerequisites.
Disable PHPeclipse
www.majelelo.com
First off, if you have PHPeclipse installed, you’ll need to disable it (if not you can skip this step). Navigate to Help > Software Updates > Manage Configuration. From the tree on the left, find PHPEclipse, highlight it, and choose the “Disable” link from the pane on the right.

Install the PHP IDE Prerequisites
The PHP IDE installation page lists a handful of runtime prerequisites for the PHP IDE plugin. However, it doesn’t list any URLs directing you to where the projects are located or what Update Manager URLs to use. Thus, I’m providing those links here.

- Open the Update Manager at
Help > Software Updates > Find and Install... - Select “Search for new features to install” and click the Next button
- Click the
New Remote Site...button on the right - Enter a name and the update URL for the update site, click
OK - Make sure the checkbox next to the new site is checked and click
Finish - Follow the prompts to install the new package
- Graphical Editing Framework (GEF)
Update URL:http://download.eclipse.org/tools/gef/update-site/releases/ - Eclipse Modeling Framework (EMF)
Update URL:http://download.eclipse.org/tools/emf/updates/ - Java EMF Model (JEM)—from the Visual Editor Project (VEP)
Update URL:http://download.eclipse.org/tools/ve/updates/1.0/ - Web Tools Platform (WTP)
Update URL:http://download.eclipse.org/webtools/updates/
Install the PHP IDE Plugin
Now that you have installed all the prerequisites, you are ready to install the PHP IDE plugin, and you shouldn’t encounter any problems now since all the prerequisites are available. To install the PHP IDE plugin, follow the same directions above to set up the PHP IDE update site in the Update Manager using the http://download.eclipse.org/tools/php/updates Update URL.
Author : Chander Prakash is an Associate Software Engineer contributing to Rational Application Developer. He holds a Bachelor of Technology degree from Indian Institute of Technology, Guwahati. He has been a presenter at Rational Software Development Conference.
| Attachment | Size |
|---|---|
| 326246323_291ae92acc.jpg | 39.7 KB |
| radphp.JPG | 17.79 KB |
- Login or register to post comments
- 8608 reads
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)










Comments
Thierry Schork replied on Thu, 2008/04/10 - 12:04pm
I have been using PHPEclipse for the last 4 years, and I have to agree that it is a perfect fit.
Combine it with Adobe's jsEclipse, and you have a perfect PHP dev environnment .
But just a word about the dependencies:
I usually don't deal with them, as I install PHPEclipse via the update manager.
Here is how I proceed:
The URL I use is for the CVS build of the editor: http://phpeclipse.sourceforge.net/update/releases
Url: http://download.macromedia.com/pub/labs/jseclipse/autoinstall/
The trick is to include the main update site in your search. This way, the dependencies to the packages coming from eclipse.org will be able to be pulled.
I personnally prefer to use this mechanism rather than unzipping archives in the lpugins/features directory.
It's easier to stay up to date that way.
JSEclipse home page: http://labs.adobe.com/technologies/jseclipse/
Todd Williams replied on Thu, 2008/04/10 - 4:32pm
How about a simple, free alternative instead of all the manual work:
1) Navigate to http://www.poweredbypulse.com in a browser
2) Download the 5MB Pulse installer
3) Run the installer and launch Pulse
4) When prompted, select "Anonymous" for account type
5) On the next panel select the "Full catalog" link in the upper right corner
6) In the catalog, expand Profile Catalog > Browse Categories > IDE
7) Select Eclipse Europa for PHP
8) Click the little green "run" button in the upper right to install and launch.
After doing this one time you'll have a full install on your machine with a shortcut in your Programs menu configured for you to use to launch your PHP development environment directly next time. Or, you can go back to the catalog at any time to create more development profiles, configure them with additional software through simple drag and drop, and even share them with your friends.
Other than being the simplest and fastest way to install Eclipse, here are the other reasons to use Pulse: http://www.poweredbypulse.com/why.php