Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install a PHP IDE plugin for Eclipse directly from the Eclipse environment?

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?

like image 449
Kirzilla Avatar asked Mar 07 '10 21:03

Kirzilla


People also ask

Can you use PHP in Eclipse?

To run PHP and Eclipse you need a working web server with PHP installed, a Java runtime environment and last but not least a copy of Eclipse. You might also want a copy of MySQL running and a debugger but these are optional extras.


2 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

like image 188
Marcos Placona Avatar answered Sep 22 '22 22:09

Marcos Placona


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)):

  1. Open Eclipse (in my case Eclipse Indigo).
  2. Go to Help --> Install New Software...
  3. Expand the "Work with" drop down and select "Indigo - http://download.eclipse.org/releases/indigo".
  4. Expand "Programming Languages" from the list.
  5. Check PHP Development Tools (PDT) SDK Feature.
  6. Click "Next >" at the bottom and follow the further instruction of Eclipse.
  7. After successful installation of PDT: Go to Window --> Preferences and see the list as PHP at left panel.
like image 33
Ripon Al Wasim Avatar answered Sep 21 '22 22:09

Ripon Al Wasim