I'm trying to install PDT plugin in Eclipse and I get error:
Cannot complete the install because one or more required items could not be found.
Software being installed: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235)
Missing requirement: PDT Debug UI Plug-in 3.1.2.201212211235 (org.eclipse.php.debug.ui 3.1.2.201212211235) requires 'bundle org.eclipse.dltk.debug.ui [4.0.0,5.0.0)' but it could not be found
Cannot satisfy dependency:
From: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235)
To: org.eclipse.php.debug.ui [3.1.2.201212211235]
dgolovins answer worked for me.
First install Dynamic Language Toolkit:
Help-->Install New Software --> Add --> Location: http://download.eclipse.org/technology/dltk/updates-dev/4.0-stable/
Then install PDT:
Help-->Install New Software --> Add --> Location: http://download.eclipse.org/tools/pdt/updates/latest
This message is awful and means that org.eclipse.dltk.debug.ui with 4.0.0 <= version <5.0.0 is not available in your eclipse installation or form available eclipse update sites in Install dialog.
Add Eclipse Dynamic Language Toolkit update site in eclipse Install dialog and then try to install PDT again.
In Ubuntu 14.04 the solution presented by #Manfred did not solve my installation problem.
Then I followed the solution presented in PHPeclipse
Enabling PHP Support
As-standard, Eclipse does not come with support for PHP. This must be
added, and added as root.
Launch Eclipse as root from the command line:
$ sudo eclipse (gksudo causes an unusual warning).
When the "Welcome to Eclipse" screen is displayed, select Help->Install New Software...
The "Galileo" site must be added, click "Add..." and input:
Name: Galileo Location: http://download.eclipse.org/releases/galileo/
Once this is available, select "Galileo" in the Work with: drop-down list.
Enter "php" into the filter text, two entries should be displayed for "PHP Developer Tools (PDT)"; one under Programming Languages,
another under Web, XML, and Java EE Development. Select both and click
"Next >".
Verify that the items you wish to install are displayed on the "Install Details" screen and click "Finish".
Eclipse will need restarted for the update to complete.
With this complete, you should be able to launch Eclipse under a
normal user account and select New->Project...->PHP->PHP Project.
Related
I have installed eclipse php (Neon.2 Release (4.6.2)) with subversive (4.0.2) plugin.
When trying team synchronizing, I've got 2 issues :
The arrows icons (which gives a preview of what's to push and what to pull) disappear after 1 second.
This issue was solved by doing the following :
Install PDT addon v2.2.1 using "Install New Software" Select Heliosn
update site (http://download.eclipse.org/releases/helios) then use
filter "PDT" to display only PDT, and select "PHP Development Tools
(PDT) SDK Feature" then install
When double clicking on a .php to see what has changed, it's blank. Any other files work properly though.
1- I have neon 2 + PDT and the problem is gone disabling:
"window/preference/general/appearance/label decorations/PHP Project Explorer Decorator"
and close and reopen team synchronizing perspective
2- To resolve this problem "help/install new software" and use (nightly builds)
http://download.eclipse.org/tools/pdt/updates/latest-nightly/
and install all items,
bug reported here.
I hope that helps.
My PDT (Php plugin for eclipse) was broken.
I decided to install eclipse Lunar latest release, then installed latest subversion Lunar plugin and connectors, and it all worked out.
I downloaded the latest eclipse version "Luna".
But I am not able to find PHP support in the "Install New Software"
Can anyone provide me with the software site link for installing php support and symfony/twig plugin for eclipse luna ?
UPDATE
Click on Help on the top menu.
Choose Install New Software
Choose the Luna from the available site link
Now on the below section, type PHP.
That should bring you list of softwares for PHP tools.
http://download.eclipse.org/tools/pdt/updates/latest/ (upadated)
And for Symfony/twig:
http://p2-dev.pdt-extensions.org/
eclipse -> help-> install new software
work with drop down select your luna
then list of tools is given below
select programming tool its list of some program language like c c++ php select php then next
accept the terms and condition that's all over
eclipse open perspective choose php then work in php code
I followed this guide for eclipse integration on drupal:
https://drupal.org/node/1420004
I tried to install PTI plugin to Aptana
(Aptana Studio 3, build: 3.4.1.201306062137, with Eclipse Platform Version: 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q)
, but got a lot requirement missing errors.
Then I enable Eclipse Indigo Update Site (http://download.eclipse.org/releases/indigo) in my Aptana, and installed it successfully this time.
Then I config it like this:
But it just don't work!
I have installed php codesniffer and pear library, it works perfectly in command-line, and git pre-commit hook, but I can't get it work in Aptana.
Even I right click on a file, the PHP Codesniffer is grey and unclickable.
I wonder what is the right way to install codesniffer to Aptana Studio ?
You will need to set up the "PHP Executer". Use the link on the side of that select-box and configure one, poiting to the php binary you have. It probably is /usr/bin/php5. If the .ini file is required, it'll probably reside in /etc/php5/cli/ or /etc/php5/apache2/.
If those are not correct, you can execute and retrieve the location of that information.
I needed to set this up in order to have my codesniffer working. I couldn't find how to make it work without clicking in the button in the editor's toolbar, but It worked.
netbeans noob - first time running ubuntu and ever using netbeans just a heads up..
I can't create a new project in netbeans. I downloaded the plugins i wanted for PHP
When i go to File -> New Project the only item i see under categories is "Samples." Samples is broken down into two sub-categories which are ApiSupport and PHP.
Any ideas on how to fix this?
Thanks in advance..
Make sure that you have PHP Plugin installed and active.
Click Tools (menu) -> Plugins (menu) -> Installed (tab).
You should see window like this:
If there is no PHP Plugin - install it (go to Available and search for PHP with description similar to mine).
If there is PHP Plugin but inactive - select it in "Select" table column and press "Activate" button.
If there is PHP Plugin and it is active - reinstall it by using Plugin window.
I realize this is an old thread, but I was looking for the answer today and ran into the same issue. Though the previous answer is technically correct, it was not the issue I was having as I already had the plugin (it came with the Netbeans download). That said, the issue was not having a lamp environment. Once installed apache, php, and mysql, the PHP category showed up. Instructions from Netbeans can be found on their website, but if you are using Ubuntu (or anything Debian based) you can run
sudo apt-get install php5 php5-mysql mysql
PHP5 has a dependency for Apache so it will ask if you want to install dependencies. You just say yes. If my memory serves, Redhat (CentOS and Fedora) would be:
yum install php php-mysql mysql
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?
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
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)):
Open Eclipse (in my case Eclipse Indigo).
Go to Help --> Install New Software...
Expand the "Work with" drop down and select "Indigo - http://download.eclipse.org/releases/indigo".
Expand "Programming Languages" from the list.
Check PHP Development Tools (PDT) SDK Feature.
Click "Next >" at the bottom and follow the further instruction of Eclipse.
After successful installation of PDT: Go to Window --> Preferences and see the list as PHP at left panel.
Open up eclipse, go to "Help -> Install New Software". Enter:
http://download.eclipse.org/releases/juno
entry from the "Work with" dropdown.
Under the "Web, XML, Java EE and OSGi Enterprise Developmet" category, select "PHP Development Tools (PDT) SDK Feature 3.1.1.201209101312".
The new URL for the repository is now http://download.eclipse.org/tools/pdt/updates/release. In Eclipse: open Help -> install new sofware -> add. Then paste this URL in the location.
Mark the check boxes you want and click next.
Help --> Install New Software
In work with select box , only I have selected Kepler - http://download.eclipse.org/releases/kepler
And then under Programming language category you can find PHP Development tool.
fyi :I have ubuntu
The best solution would be to go to http://projects.eclipse.org/projects/tools.pdt/downloads where you will find the URL to the most updated PDT, as most of the URLS listed above are hitting a 404. Then pasting the URL to eclipse.
Easiest Way To install PDT
Run eclipse
Click on "Help", "Install New Software"
“Choose all available sites”, in search box type "php"(takes a while to load)
=> “programming languages” => "PHP Development Tools", => PhP Development Tools (PDT) SDK Feature.
Restart eclipse
File new => other => php .
Should be able to follow from their
The URL which worked for me is http://download.eclipse.org/tools/pdt/updates/2.0/interim/.
See also Stack Overflow question Installing PDT in Eclipse - No runtime option .. only SDK.
Eclipse for PHP Developers Package
Looking for the Eclipse for PHP Developers Package?
Due to lack of a package maintainer for the Indigo release there will be no PHP (PDT) package. If you would like to install PDT into your Eclipse installtion you can do so by using the Install New Software feature from the Help Menu and installing the PHP Development Tools (PDT) SDK Feature from the Eclipse Indigo Repo >> http://download.eclipse.org/releases/indigo
Text grabbed from page:
http://www.eclipse.org/downloads/php_package.php
Updated for 2019: As previously suggested, in the latest Eclipse, go to "Install New Software" in the Help Menu and click the "add" button with this URL http://download.eclipse.org/tools/pdt/updates/latest/ that should show the latest release of PHP Development Tools (PDT). You might need to search for "php" or "pdt". For Nightly releases you can use http://download.eclipse.org/tools/pdt/updates/latest-nightly/.