Maybe I don't know how to uninstall something with CustomBuild properly, but I performed these steps:
* Change
options.conf
to have
php4_release=7.3
(was previously
no
)
*
./build update_versions
* Switched to 7.3 for a domain, and verified that it was now using 7.3
* Changed
php4_release
back to
no
in
options.conf
*
./build remove_items
(only way I could find to uninstall 7.3)
At this point, interestingly enough, the php-fpm processes are still running for 7.3, connected to the user of my domain, but accessing the website returns a "503 Service Unavailable", since I guess all the 7.3 binaries are now gone.
A
./build rewrite_confs
did not fix the PHP selection for my domain, it still has
php1_select=4
in the
.conf
file. When looking at the selection dropdown inside DA, it says 7.4 (my current
php1_release
in
options.conf
), even though that's not the case.
I don't know if I've missed something obvious here, but it doesn't seem like there's any automatic or semi-automatic way of giving an existing PHP version to a domain when their current one has been removed?
This is getting a little off topic, but as far as my script goes, I'll leave it as is for now, at least until there is some clarification on how this should be dealt with.