Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up Eclipse for Java and PHP

Tags:

eclipse

I have already installed Eclipse for Java development. I'd also like to install Plugins for PHP, CSS/HTML and Javascript, but all the sites that I've checked only offer a 'All in one' package, so I could either download an all-in-one Java package or an all-in-one PHP package, but not both at the same time.

How do I set up my existing installation to also support PHP files?

like image 486
Ali Avatar asked Feb 02 '09 10:02

Ali


People also ask

Can you use Eclipse for PHP?

Eclipse is an IDE originally designed for Java, but now with plugins for many languages including PHP. It has lots of very powerful features, and it is the editor that some Moodle developers like to use.

Do I need JRE or JDK for Eclipse?

Eclipse is a Java-based application and, as such, requires a Java Runtime Environment or Java Development Kit (JRE or JDK) in order to run. Note that on recent versions of Mac, a full JDK needs to be installed, not just a JRE; see instructions below.

How do I run an existing PHP project in Eclipse?

To import an existing project, use File>Open Projects from File System and point to the folder containing your project. To create a new PHP file, use the wizard at File>New>Other>CodeMix>PHP File. You can simply create a regular file with a php extension as well.


1 Answers

I use PHPEclipse which can be installed as a regular Eclipse software update

The PDT can also be installed as an update.

For HTML/CSS etc, the WTP can be installed in a similar fashion.

like image 197
Paul Dixon Avatar answered Nov 15 '22 19:11

Paul Dixon