title: Deploying PHP code?
body: <p>Question on how to go about pushing out our PHP code. Previously, we would simply run our test suite, commit changes, and then svn up on the productions servers to "push" out changes. I'd like to change this because I'm not too comfortable having svn on the production servers for multiple reasons.</p>
  
  <p>I was thinking of just writing a script that does the followings: (would push out from svn server)</p>
  
  <ul>
  <li>svn export   </li>
  <li>Tar and scp new code to production servers.  </li>
  <li>ssh to production servers and unpack archive  </li>
  </ul>
  
  <p>Obviously overwriting all previous files in the process/cleaning up.</p>
  
  <p>This would be speedy. Any bugs could easily be fixed, committed, and then just re-push the code back out to the servers (or revert a revision, etc). Any comments/suggestions/criticisms to this approach are appreciated. ;)</p>