Deploying PHP applications

with zero downtime





ConFoo, Montreal - February 23rd, 2023

© David Buchmann







David Buchmann - david@liip.ch

PHP Engineer, Liip AG, Switzerland

If you really have to, use FTP with TLS: SFTP

Upload your application


git pull / scp / rsync



Replacing files in place on the running system

Replace files in place

Goals for a deployment


Automate everything!

Deploy from CI

Have your CI run the deployments

Atomic deployment