问题
I understand PDT is not a part of Eclipse Indigo. I installed from Help > Install new software and restarted. Still, I do not see PHP as an option in Perspective. Only Java is seen. Can anyone help in getting me on PHP development with Indigo?
回答1:
it should really be that simple.
download "Eclipse Classic"
unzip/install to a new folder location (e.g. c:\eclipse-indigo-win32\
- go to help->install new software
- select Indigo - http://download.eclipse.org/releases/indigo from the "Work with" drop down list
- type "php" in the filter text
- Select "PHP Development Tools (PDT) SDK Feature
- select /next/ok/agree/finish etc..
- wait for install and restart when prompted
to check installation version - go to help->about then click the "Installation Details" button - look for the version next to "PHP Development Tools (PDT) all-in-one SDK v3.0.0" - also check "Eclipse SDK" should be 3.7.0
ensure perspective is selected, - next to perspective buttons - click icon with "+" symbol - select "other" - highlight "PHP" - select "OK, PHP will now be included in the list of open perspectives
回答2:
Go to Help->Install new Software menu
Add http://download.eclipse.org/tools/pdt/updates/3.0/milestones/
in Work with feild and press add button
then Select All button
click next and then finsih
now a prompt will show restart eclipse press ok
Now php projects can be created
来源:https://stackoverflow.com/questions/6548809/eclipse-indigo-pdt-3-0-gotcha