4

Are there any tools for automatically moving code from testing to (stage and then to) production?
We are running on a LAMP stack and don't want to rely on FTP access?
Other than that, is there some BASH or PERL script out there for this same process?
Our production servers cannot run SVN or HG which we use for development.

chustar
  • 12,225
  • 24
  • 81
  • 119
  • possible duplicate of [What is your preferred php deployment strategy?](http://stackoverflow.com/questions/425692/what-is-your-preferred-php-deployment-strategy) – Gordon Aug 25 '10 at 16:29

5 Answers5

3

Check out PHING. It's very flexible and you can extend it with raw php code if you need to... It does (and can do) a whole lot more than just moving things around (including testing, building, documenting, etc)...

As for the file-transfering bit, you can connect to the remote server using a bunch of built in methods (including but not limited to FTP, SCP, SFTP, RSYNC, and more)...

ircmaxell
  • 163,128
  • 34
  • 264
  • 314
  • 1
    +1 I completely agree... Check out this recent article about 10 php tools to make your life easier. http://phpbuilder.com/columns/top-10-productivity-tools/Jason_Gilmore082410.php3 – ashurexm Aug 25 '10 at 16:29
1

You could SVN checkout the production copy onto the production server and use http?

Realn0whereman
  • 1,176
  • 2
  • 13
  • 17
1

Check out Capistrano it might be what you need, simple and doing job as you would expected.

Hydrino
  • 567
  • 3
  • 9
1

We use RepliWeb, it's somewhat pricy, but extremely flexible, offers rollback capability, notifications, task execution, scheduled moves, and so forth.

MightyE
  • 2,679
  • 18
  • 18
0

webistrano for a pretty UI for managing capistrano

Mike
  • 980
  • 3
  • 15
  • 29