PHP IDE - Eclipse?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
bhgchris1
Forum Newbie
Posts: 2
Joined: Wed Nov 05, 2008 5:04 pm

PHP IDE - Eclipse?

Post by bhgchris1 »

Hello Everyone!

For years I have been developing with Dreamweaver :eek: I don't use any of the wysiwyg stuff. I only use it for a few of the features explained below.

I have decided that it is time to switch to a more professional IDE and would very much appreciate suggestions.

First I'll list my current specs. My questions are at the bottom of this post.

Notes on my physical development environment:

1) I have LAMP server at my house. It is running Ubuntu Server for the OS.

2) I have opened this server to the internet so that I can access it ( ssh, ftp, sftp, http ) from any machine any time.

3) I am running subversion on that server.

4) I do my actual coding on various machines, and upload to my LAMP server for debugging and testing. This way I don't have to have Apache, MySQL, and PHP installed on all of the machines that I write code on.

Things i like about Dreamweaver:

1) SFTP - I like using ftp to connect to my LAMP server.

2) Auto uploads files to my server when I save. I like this b/c I can do a quick ctrl+s and then refresh my browser for testing.

3) Very handy project/file browser.

4) Dreamweaver has some functionality for using a version control system, but I use TortoiseSVN for my svn needs.

I have looked around and decided that Eclipse will work great for me. I know it can do everything that I want, but I'm not sure exactly how. I've spent a lot of time on Google...

This is my Eclipse setup:

1) Eclipse SDK 3.41

2) Web Developer Tools 3.0.2

3) PHPeclipse 1.2.1

4) DBG Debug Feature 1.2.1

Things I still need help with:

1) Eclipse seems to assume that apache, php, mysql are all installed on the local machine. In my case, they are all installed on my LAMP server at my house. How can I configure Eclipse to work with this?

2) I am new to version control and have only recently started using SVN. I have SVN installed on my LAMP server. I believe there is a TortoiseSVN plug-in for Eclipse. What is the best way to setup a project in Eclipse that will be using SVN on my LAMP server?

3) I have never used an actual debugger before. I have the DBG Debug Feature installed in Eclipse and plan to install the DBG PHP module on my LAMP server. How will I use this in Eclipse?

I'm open to any and all comments/suggestions.

Thanks!

-Chris
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP IDE - Eclipse?

Post by Christopher »

I would recommend SubEclipse over TortoiseSVN. I don't remember why, but it was easier to install and use. Also, you should install ESFTP. It allows you to upload files using SFTP to you server.
(#10850)
bhgchris1
Forum Newbie
Posts: 2
Joined: Wed Nov 05, 2008 5:04 pm

Re: PHP IDE - Eclipse?

Post by bhgchris1 »

Thanks for the reply...

I have actually used subclipse. I liked it - but I'm still not sure of the proper way to use a version control system when developing/debugging/testing/production

I will check out esftp. Thanks!

Anyone have any suggestions on the other stuff?
Post Reply