I don't know why I'm having so much trouble installing eclipse kelpler for php. All I can find is the Java package at http://www.eclipse.org/downloads
I downloaded 4.3 Java version, where do I go to add PHP? I am trying help install new software, but I don't know what URL to use.
ah yes, for windows.
Thanks
For Eclipse Kepler currently you need PDT 3.2
Repository location: http://download.eclipse.org/tools/pdt/updates/3.2/release
Related
As you can see in this photo I have problems with eclipse while programming with laravel framework. The problem is eclipse is looking for php5.3 code but laravel and my local server uses php5.6. So how can i upgrade my eclipse for Php5.6?
This is a Juno version released 2012. I would suggest upgrading to a more recent version that support latest PHP versions. Try the latest official release Luna Eclipse ver. 4.4.
Follow the instructions here: https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse%3F
or here: https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse%3F
Isn't eclipse dead already?
Everyone now uses PhpStorm (a fantastic IDE), or NetBeans if you don't wish to pay for the licence.
I've already got Eclipse for PHP-developers installed. Must I install a new version for Java EE, or can I "marry" it into the PHP version, for instance trough updates or plug-ins? The reason I ask is 1) I want to save space ('cause I'm greedy), 2) I want to not have to switch programs all the time ('cause I'm lazy). :)
Is it possible?
How do you do it?
get yourself eclipse classic
go to Help > Install new software
install PDT things
install Java EE things
use it while switching the perspectives
P.S. you might want to look into Aptana's eclipse plugin as alternative to PDT, while you're at it . Some people prefer it (ST2 user .. no real stake in this)
It should be possible to install both the PDT Eclipse and the Jave EE eclipse into the same folder i.e. merge the plugin folders.
Then you can use both features in the same Eclipse version.
You can add all the Java EE plugins and add the Java EE functionality to your copy. I actually did this the other way around. I started with Java EE and added the PDT php tools to my eclipse and it works fine.
Hi I am new to php eclipse and I have a question about my eclipse interface..
According to the pictures I saw on the internet, the keyword for php will be colored (mysql_connect, echo...etc). However, every words in my php file are plain black. There are no colored keyword. I am sure my file is saved as .php. How would i solve this problem. Thanks for the help....
Upadte:
I installed my eclipse from my software center. I guess that's not the php version. I removed it and tried to download the all-in-one php package. When I unzip and clicked the eclipse file, it said need jdk installation. After I installed my jdk and fired up the eclipse, I can see the php eclipse title in my eclipse, but the keywords are still black....any ideas how to solve this? Thanks
You have to install PDT plugin for eclipse
You might want to install Aptana (Which is Eclipse based) with the PHP Plugin
I installed Aptana, but could not find PHP, any idea on how to get the plugin or install the PHP features.
Thanks
Jean
This page at Aptana's site explains how to install the Eclipse PDT (PHP Development Tools) plugin on Aptana.
You must get version 1.5 which works with PHP, I'm using it
I have a project that's intended to use some PHP as well as Java and Javascript, so I installed the PDT PHP plug-in for Eclipse, using the Install New Software menu option. Now Eclipse agrees PDT is installed, but no PHP features like creating or editing PHP files are appearing anywhere. Is there something else I need to do to activate PDT? (I did restart Eclipse like it said I needed to.)
Right click on your project, Configure (it's at the bottom of the list)->Add PHP Support...
After it's done, you should see a little P symbol in the project's icon.
Just create new project using the wizard, and choose PHP one. After Eclipse will know that your project is actually based on PHP, it will show you all the features.
In case if you have existing project, just open the PHP perspective.
I've once had a similar problem. Eclipse was running with the JRE 1.4, and it seems the JRE 1.5 or later is required to run the PDT. I switched to Java 1.6 and that solved the problem.
I run into this sometimes with eclipse plugins.
Have you tried uninstalling it, removing the jar and files it from eclipse/plugins and eclipse/features, then installing it again?
If you don't feel like doing that. Try installing it in a clean eclipse instance and if it works then it's just a config issue with eclipse.
You might have not installed all of the tools too.
The solution I eventually came up with was to just install Aptana Studio, a PHP IDE based on Eclipse, whose standalone version can coexist happily with the regular Eclipse on the same machine.
In order to have PHP support in eclipse project, you need to add PHPNature to the project. It's a kind of configuration paramter of eclipse project. When you craete a new PHP project using a wizard, check the .project file in a new project directory. There is a PHPNature line. Copy this line into .project of your java project.
Another solution is to separate java and php code in a different projects, each one craeted by right wizard.