top | item 44464765

(no title)

rexreed | 8 months ago

PHP can work the same way. Push / FTP / SFTP PHP file to directory, deployed.

discuss

order

Twirrim|8 months ago

We used to use symlinks to enable atomic operations, too. e.g. under /var/www/ we'd have /var/www/webapp_1.0, and have a symlink /var/www/webapp pointing to it. When there was a new version, upload it to /var/www/webapp_1.1, and then to bring it live, just update the symlink. Need to roll back? Switch the symlink back.

trinix912|8 months ago

Wouldn't that cause problems when someone would find the old version and corrupt the data with it? Or would only the current version be accessible from the outside?