• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

help setup a PHP programmer in Linux

Titan

Golden Member
So I work in a Mac shop and am familiar with windows.

Today, my iMac workstation dies. So they take an identical one from a conference room and then it dies.

My sysadmin gives me this machine using ubuntu.

So I am not familiar with this animal and need some help setting up a dev environement.

I'm thinking eClipse for an IDE. I work in PHP. I am a unix guy and know vi. Just not used to a point-and-click Linux.

I am using firefox now and need to setup thunderbird.

Help!
 
So I work in a Mac shop and am familiar with windows.

Today, my iMac workstation dies. So they take an identical one from a conference room and then it dies.

My sysadmin gives me this machine using ubuntu.

So I am not familiar with this animal and need some help setting up a dev environement.

I'm thinking eClipse for an IDE. I work in PHP. I am a unix guy and know vi. Just not used to a point-and-click Linux.

I am using firefox now and need to setup thunderbird.

Help!

If you don't want to use the gui, then type man apt-get
You can find package names using google.

Else, fire up Synaptic Package Manager under System -> Administration (assuming you're using the ubuntu default gnome wm) and search for what you need.
 
Sorry, I'm a little frantic here.

I'm used to coda on the mac and would like a PHP IDE that has an SFTP file browser built in with a code-highlighting text editor. Preferably something with code completion. Maybe I could find something like Notepad++ with the right plugins?

I'm using the ubuntu software center and learning a lot. So far no luck figuring out eclipse.
 
Sorry, I'm a little frantic here.

I'm used to coda on the mac and would like a PHP IDE that has an SFTP file browser built in with a code-highlighting text editor. Preferably something with code completion. Maybe I could find something like Notepad++ with the right plugins?

I'm using the ubuntu software center and learning a lot. So far no luck figuring out eclipse.

https://help.ubuntu.com/community/EclipseIDE

That might help... grab VIM (vim is probably a wrapper for vi in ubuntu, can't remember) as it does syntax highlighting.
 
Netbeans is good, bluefish is ok, gphpedit is good, I've heard good things about kdevelop4.

Personally, I've been a enjoying netbeans. My normal tools have been gedit + ssfs on linux and textmate + cyberduck on osx.
 
so netbeans looks more promising, I set it up after scratching my head at eClipse. But I just don't need the "project" setup. I'm not developing php on my machine, I'm doing so on the server. Just having an integrated file browser, text editor, and terminal would be all I need.
 
so netbeans looks more promising, I set it up after scratching my head at eClipse. But I just don't need the "project" setup. I'm not developing php on my machine, I'm doing so on the server. Just having an integrated file browser, text editor, and terminal would be all I need.

Just install PHP, vim and use whatever file browser you want then. That's how I would do it if it were me.
 
so netbeans looks more promising, I set it up after scratching my head at eClipse. But I just don't need the "project" setup. I'm not developing php on my machine, I'm doing so on the server. Just having an integrated file browser, text editor, and terminal would be all I need.

Yea, that's how I use it. I point my site at the server.
 
Yea, that's how I use it. I point my site at the server.

Can you tell me how you setup a project for the remote server? I don't want it to use my local php, apache, or mysql. I just want it to browse files on the server, automatically download and upload them as I edit. I can always have a seperate terminal, I would just like file browsing and edited integrated, it saves so many steps.
 
What I do is code everything locally, then upload to the remote server via sftp once done. Less impact to the production site this way. Setup a local web server to act as dev/test environment and use samba to share out the drive so you can work directly on it from your workstation.
 
It's simple, create a new php project, store the working directory anywhere you want on your computer. Then on the run configuration page, choose Remote web site. The project url should be set to the remote website, and the remote connection should be set to the remote web server. Then set upload files to "On run"

Everything is happy.
 
Yea, that's how I use it. I point my site at the server.

It's simple, create a new php project, store the working directory anywhere you want on your computer. Then on the run configuration page, choose Remote web site. The project url should be set to the remote website, and the remote connection should be set to the remote web server. Then set upload files to "On run"

Everything is happy.

Ok I've done all that I guess my problem is finding and creating my local working copy. I don't see a remote file browsing structure, so I assume I need to download the whole site? Which I would prefer not to do. How do I use this setup to find files on the remote site?

EDIT: I guess there is a "sources" tab for a project I setup, it looks like it's all local. But now that I have made the project I can't edit the sources paths. This i a bit confusing to setup as well.
 
Last edited:
Yea, you have to have a local copy, but all testing is done on the remote site if you set it up as I suggested.

Honestly, you should have a local copy anyway, you are using a SCM right?
 
Yea, you have to have a local copy, but all testing is done on the remote site if you set it up as I suggested.

Honestly, you should have a local copy anyway, you are using a SCM right?

I wish we had source control. This is an old web shop where they never got into it. I am fighting to get SVN but we are having trouble coming up with a workflow process. We are only 9 total people, 2 of us programmers so we do things fast but I am crying for source control.
 
I'd recommend git, no need for a server. With just two developers you can just pull changes from each other. Total time to setup, about 30 seconds. Learning curve, about 5 minutes.
 
Back
Top