I have php,mySql and apache2 installed but I needed a IDE for development.So How can I download Eclipse Php with out any errors please help me. And Help me in supporting installed apace2,mySql and php in to it!!


You can not install Eclipse over the repositories and Software Center or apt-get.

You will have to visit https://eclipse.org/downloads/packages/eclipse-php-developers/lunasr2 and download the right version (Linux 32/64Bit).

Then extract the tar.gz-archive (about 100-150MB) to your /opt directory. You need root privileges to access that folder, so run your filemanager as root (e.g. gksu nautilus) or work with sudo and terminal commands (cd /opt/ && sudo tar -zxvf /full/path/to/eclipse-*.tar.gz)

Next step is to create a launcher for eclipse:
Open an root-editor window on the new file with gksudo gedit /usr/share/applications/eclipse_php.desktop and paste the following lines into it:

[Desktop Entry]
Name=Eclipse PHP
Comment=Integrated Development Environment
Name[en]=Eclipse PHP

Save and close it. Now Eclipse should appear in your dash application lens. If not, you might have to run sudo desktop-file-install /usr/share/applications/eclipse_php.desktop.

That's it. You can now start Eclipse and do the necessary configurations.

You might want to have a look at this guide too:
Note that it was written for the outdated "Kepler" version (current = March 2015 is Luna) and the standard Java IDE components, not PHP.

  • didn't work, how to I run the eclipse after going through the steps? – Elia Weiss Aug 5 '18 at 4:27
  • 1
    @EliaWeiss The described procedure is outdated. Current Eclipse versions come with an installer that will place the IDE in your home directory. Just download it from eclipse.org/downloads and run it. – Byte Commander Aug 5 '18 at 20:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.