[Ldsoss] PHP remote development environment

craig rydalch craig.rydalch at gmail.com
Wed Apr 25 08:54:56 EDT 2007


If you still want to be able to do your development work from
anywhere, you might consider creating a dev environment on your prod
server.  I have done this and it works well for me.  I copied all my
website files to another folder at dev.websiteurl.com.  (You can hide
it from search engines and curious surfers using htaccess.) Then I
made a copy of my database and changed the configuration file at the
dev site to point to my new dev database.

I use an rsync script to push my changes to the prod site when they're
ready.  I just exclude my config file and the image folders in my
photo gallery.

I use vi to make my edits over ssh, but you could use some of the
remote tools suggeted by others.

Good luck!
- Craig

On 4/24/07, Thomas Haws <tom.haws at gmail.com> wrote:
> I need to get more serious about my PHP (LAMP) development.  I have
> been developing remotely for my web sites (including the Care For Life
> charity) via the CPanel web editor using the Mozex Firefox extension
> to send textarea to my local Windows editor.  The debug/test cycle is
> agonizing and dangerous.  I think I probably inadvertently closed a
> browser tab the other day and lost plenty of effort.
>
> So, I wonder if this group has wisdom regarding the direction for me
> to go?  Here are some possibilities I have considered:
>
> 1.  Use vi in the Linux shell.  Do I have to?  My dad is pushing me
> that way, but he says it takes months to learn vi right.
>
> 2.  Install a local development environment.  I don't know what this
> would involve, but I like to be able to access my development
> environment from anywhere.
>
> 3.  Some other (???) linux shell editor or environment.
>
> Thanks beforehand for your help.
> --
> Tom Haws 480-201-5476
> Have a beautiful day.
> _______________________________________________
> Ldsoss mailing list
> Ldsoss at lists.ldsoss.org
> http://lists.ldsoss.org/mailman/listinfo/ldsoss
>


More information about the Ldsoss mailing list