Hi there Im wondering if there is a way, workaround, to specify the Default PHP version for a specific cPanel Package. Without changing it manually once a new account is set up. Ex: - Fictional_Package_1 with PHP 5.6 - Fictional_Package_2 with PHP 7.0 Ive asked CloudLinux Support and this was their answer. So Ive created a Request at https://cloudlinux.uservoice.com please see the link below.
Announcement
Collapse
No announcement yet.
PHP Selector: Im wondering if there is a way to specify the Default PHP version for a specific cPanel Package.
Collapse
X
-
Actually, there is a way to do it, just requires some bash coding from you.
The /scripts/postwwwacct is used after every account creation
You can write your own script that will detect package name for an account "like **PHP56" and then run:
Code:selectorctl -b 5.6 -u username
Comment
Comment