I am going to upgrade all the site php version to 7.1. Already have some sites up and running with the compiled php 7.1 fpm. My plan is: 1) Backup /etc/apache2/sites-available/ 2) Update the mysql db "web_domain.fastcgi_php_version" to php 7.1 3) Run resync -> websites to regenerate the config But as I remember the resync -> websites is very slow (update config file and reload apache for each site). Is it possible to just rewrite the conf with the new setting and then restart the apache once? Thanks.
if the php change requires any changes in the websites vhost configuration file then a resync is required, just restarting apache will not do that. I believe if you disable 'test apache configuration on restart' in the system -> server config -> selected server -> web then it will only restart apache once, at the end of the resyncs, not after each websites vhost file gets rebuilt. that believe is from a response in another thread though, can't locate it right now though, but from memory, it was a comment by Till. I've not tried it though, so I have no idea if, or how much that speeds up the resync / vhost rebuild process though.