How to use Eclipse with Php5.6 - php

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.

Related

Switching from Netbeans 8.2 to Apache Netbeans 10 for PHP Development

Currently I'm using the Netbeans version 8.2 for PHP developing purposes. I'm in need of finding whether switching to Apache Netbeans version 10 will create any conflicts and issues in 'Glassfish server based PHP projects' that I have partially completed in Netbeans version 8.2.
No... There won't be any issue in doing the aforementioned switch..
Here you get a really short answer: no.

Netbeans missing code hints for PHP

I'm having a problem with Netbeans 8.1 working on Symfony2 project - I don't have any code hints and autocomplete suggestions. It applies to both userland code written by me and autoloaded from vendors.
For example when I want to implement an interface, there's no hint for missing methods. I don't even get autocomplete for $this.
I already tried to clear cache directory with no success.
My Netbeans info:
Product Version: NetBeans IDE 8.1 (Build 20151231-debian-8.1)
Java: 1.8.0_111; OpenJDK 64-Bit Server VM 25.111-b14
Runtime: OpenJDK Runtime Environment 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14
Running on Ubuntu 16.04.1 LTS
Perhaps someone had that problem?
I had this problem when I excluded vendors directory in Netbeans project properties. I did it when I wanted Netbeans to use code sniffer.
Maybe you'll find it helpful information.
Upgrading to Netbeans 8.2 solved the issue (I'm not sure if it would not work with reinstallation of Netbeans 8.1).
I had to download new version from https://netbeans.org/downloads/index.html because it was not available through apt.

Where do I download eclipse kepler for php

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

php IDE working with ZEND Framework 2

As we can see here : How to integrate Zend 2 intto netbean, today there is no way to use ZF2 in neatbean.
I'm still not very friendly with php IDEs but I'm searching for a free IDE natively supporting ZF2.
Eclipse PDT works, but you have to download Eclipse Juno
then in Eclipse install new Software and select PDT 3.1.1
Older version available on www.zend.com/en/community/pdt didn't work for me.

Installing PDT on Eclipset Classic 3.7 (indigo) always fail

Every time i try to install PDT through "install new software" feature in Eclipse Classic 3.7 (tutorial here) i get the following error, after a lot of time fetching and downloading stuff:
An internal error occurred during: "Install download1". Comparison
method violates its general contract!
This is frustrating cause i'm following the tutorial exactly. What's wrong with it? How can i check for logs and try to find out the actual error?
This happens on both x86 and x64 version of Eclipse. Tried in a fresh environment, Windows 7 x64, JRE 7 x64 and Eclipse Classic 3.7.
I got this error when I was running Eclipse 3.7 on Sun JRE 7 on Debian 6. It is related to synchronizing the updates mirror list. Running JRE 6 fixed the issue for me.
Synchronization problem in mirror selection
Can't update Eclipse for EE Developers (Indigo)
Solved using 3.7.1 from here. Getting no problem at all both on x86 and x64 version. Thanks for helping!
Last I had heard, a few months ago, the PDT plugin was no longer being maintained. I keep a separate version of eclipse just for PHP development.
http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliossr2

Categories