Default php version to 8.1 to all new users

Techie-sam

New member
Joined
Jul 11, 2025
Messages
1
Hi guys

Your valuable help needed.I own a vps and I need to set up my new users php version default to 8.1.Is that possible
 
Why don't they add the ability to set it in "Packages"? Be more friendly.

NB. Not sure what will happen when the admin changes the default order - maybe that's why it's not a feature.
 
Why don't they add the ability to set it in "Packages"? Be more friendly.

NB. Not sure what will happen when the admin changes the default order - maybe that's why it's not a feature.

If the order is changed then all the domains will change as well. If domain.com was using the first php version which was 7.2 and he changes the first version to 8.1 then domain.com will change to 8.1. The domains don't use the php version but a number corresponding to the order. I found this out the hard way when I migrated some accounts to another server which has a different order og php versions.
 
If the order is changed then all the domains will change as well
I meant if they add an option to set a PHP version in User Packages... Although it'll be more friendly, as you mentioned, if the order is manually changed in optionsconf, implementing my idea might also cause issues - for instance, maybe the *.pkg and/or user.conf file could have its own php_version=7.2|8.2|8.4 flag.

It's 2025; there should be a solution to this by now.
 
I meant if they add an option to set a PHP version in User Packages... Although it'll be more friendly, as you mentioned, if the order is manually changed in optionsconf, implementing my idea might also cause issues - for instance, maybe the *.pkg and/or user.conf file could have its own php_version=7.2|8.2|8.4 flag.

It's 2025; there should be a solution to this by now.

I wasn't trying to give my opinion on the matter. Just stating what happens as it is now.
 
Back
Top