Howdy!
The servers are essentially yours, and Forge only managed specific things. Software upgrades are not one of them :D
This is one area where knowing a bit more about the configuration can help!
My book covers PHP-FPM's www.conf pretty extensively.
In my case, I would let the script install the updated version. Then I would go back and re-change the www.conf file as Forge makes it - likely by checking out a forge server that is not updated and comparing it (spinning a new one up just to see).
Possible (likely?) changes in the www.conf file made by Forge to check out:
- Changing the
user/groupthat PHP is run as to "forge" rather than "www-data" - Changing the
listendirective to a TCP socket (e.g.127.0.0.1:9000) over a Unix socker (e.g./var/run/php-fpm.sock) - If using a Unix socket (file path), it will also have a user/group setting, which is likely also set to "forge" rather than "www-data"
Updates in general:
Updates are not really a "solved problem" in any hosting environment. A classic approach is to have a test/stage server around where you can run updates and see what breaks. A more modern approach is a "read only" server, in which you avoid writing files that need to be saved (including using a sep. server for a database) and then just re-provision a new server for any change - software or application updates. Then delete the old server, assuming the new one is up and running.
The latter typically requires a decent amount of automation. Using Linode and their Node Balancer with Forge might allow you a good middle-of-the-road approach for that, where you spin up a new server, add application deployment, and then add it to the nod balancer before removing the old server. (Forge doesn't manage the linode node balancer, you'd have to do that a bit yourself in Linode's control panel).