Monday, August 30, 2010

Installing Eclipse PHP...

Hi,

here i am going to explain you the procedure to install eclipse php for developing a php web site also i will explain the installation of plugins for Eclipse like mercurial, SVN.

I have installed all these in ubuntu 10.04 but can be used to install on any of the debian os and to install on other linux os like fedora use rpm package installer like yum, etc instead of apt-get.

Install Eclipse:

sudo apt-get install eclipse

This will also resolve all the dependencies as well and install all the packages necessary for eclipse like openjdk, etc.

Now you need to install PHP plugin for that. but before that you need to install eclipse plugin development environment as the eclipse
is not fine with installation of php plugins.

Eclipse pde:
sudo apt-get install eclipse-pde

Mercurial:
sudo apt-get install mercurial

Now go to Applications> Programming>Eclipse

Then in eclipse go to Help>install new software

And click on add and add following plugins to it. After adding each plugin click on ok. then select the plugin and click next. and accept the terms and say finish. and you are done with the plugin. Repeat same for each pluging individually.

PHPEclipse

http://update.phpeclipse.net/update/stable/1.2.x/

Now select the list came into the install window and click on install and on next page click on next and finally finish. Thats it you are done the installation of eclipse pde. Same thing you need to follow for the installation of mercurial and SVN. Select the urls for that as follows.

Mercurial
http://www.vectrace.com/eclipse-update/

SVN
http://subclipse.tigris.org/update_1.4.x

Now you are done installation of php plugin as well SVN plugin.

At last open terminal and type following line into it.

hg clone https://chamilo.googlecode.com/hg/ chamilo 

And hit enter. it will install Chamilo.

And here you are done with php plugin installation for eclipse.

No comments:

Post a Comment