Installing PHPeclipse
There are two ways to install this plugin, automated or manual.
Automated
An automated installation of PHPEclipse is available via the Eclipse Update Manager.
Click on
HelpSoftware UpdatesFind and Install...
from the Eclipse menu bar. See
Select the radio button labeled, "search for new features to install". See
Click on the New Remote Site button (see ), and input the following:
Name: PHPeclipse official releases
URL:
If you are interested in unofficial releases you can also add a second Remote Site:
Name: PHPeclipse cvs releases
URL:
Click on Finish. &eclipse; will now look for new versions of &phpeclipse;. If the &eclipse; update manager finds something new, you can select the new version within a dialog. See .
Click on Next, and the download of the selected versions begins. See .
There may be a problem during automatic installation, if you use the Install All button during the Eclipse Find/Install feature. If the installation stops with an connection timed out message (when downloading additional files), close and restart Eclipse and use the Install button instead of the Install All button - this will require you to start the installation of the (currently) four packages manually but resolves the problem.
Find and Install...Feature UpdateUpdate sites to visitUpdates Search ResultsUpdate Manager Progress
Fedora Core 4 (and above) Users:
If clicking on Help->Software Updates->Find/Install commands produces an error message like "Error creating feature "file:/usr/share/eclipse/features/org.eclipse.rcp.source_3.1.1/". [/usr/share/eclipse/features/org.eclipse.rcp.source_3.1.1/feature.xml (No such file or directory)]", start Eclipse as root and try again. (Once you're over this hurdle everything goes smoothly -- even as a non-root user!)
Manual
To install &phpeclipse; manually, first download the latest version from SourceForge
The &phpeclipse; zip file must be extracted in the same directory in which you installed &eclipse;. It contains two directories, plugins and features, and these must match to the plugins and features directory in your existing eclipse directory. See
&eclipse; 3.x caches all plugin.xml files into a single repository for quicker loading. If you used &eclipse; before installing &phpeclipse;, you should start &eclipse; once with the -clean option. This -clean forces &eclipse; to rebuild that repository. This applies to anything that is installed into &eclipse; by unzipping it into its plugins folder.
After extracting &phpeclipse;, (re)start &eclipse;. &phpeclipse; will be loaded automatically. If NOT, you should enable it manually. Open the
HelpSoftware UpdatesManage Configuration
menu and click the Show Disabled Features button from the toolbar if not enabled yet. See Search for new features to installEnable &phpeclipse; in case it is disabledSwitch between different &phpeclipse; versionsversionswitching
If you install a new version (with a higher version number), this version will be activated by default. But sometimes it could be necessary to switch back to an older version (maybe of buggy unofficial release).
Switching back to any other version could be done in the following way:
Click on
HelpSoftware UpdatesManage Configuration
from the Eclipse menu bar. See Manage Configuration