Anne
Verified User
- Joined
- Dec 3, 2015
- Messages
- 71
Hi,
I'm very happy with the "multiple php version" option as described here how to install:
It helped met to upgrade all users what was needed and now everything is working on PHP7.4 like a charm.
The question is, how do I now get rid of all the installed old PHP versions and only keep 7.4 as default. Safe, without of course messing up my server and users ?
The reason I want to get rid of the older versions is than no one is using them anymore (as the idea was), so I don't want to maintain them or resulting in a security risk.
I installed 7.4 as php option 4, like this:
And I want it to become the only and default version.
I'm very happy with the "multiple php version" option as described here how to install:
It helped met to upgrade all users what was needed and now everything is working on PHP7.4 like a charm.
The question is, how do I now get rid of all the installed old PHP versions and only keep 7.4 as default. Safe, without of course messing up my server and users ?
The reason I want to get rid of the older versions is than no one is using them anymore (as the idea was), so I don't want to maintain them or resulting in a security risk.
I installed 7.4 as php option 4, like this:
cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 5.6
./build set php2_release 7.1
./build set php3_release 7.2
./build set php4_release 7.4
./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set php3_mode php-fpm
./build set php4_mode php-fpm
./build php n
./build rewrite_confs
And I want it to become the only and default version.
Last edited: