Request: Define PHP Selector default version and options for a specific Package Name and/or Feature
I need a way to specify the Default PHP version for a specific cPanel Package. Without changing it manually once a new account is set up.
Ex:
- FictionalPackage1 with PHP 5.6
- FictionalPackage2 with PHP 7.0
1
vote
Leon Harbour
shared this idea
-
Emiliano commented
As a workaround you can create a cPanel hook on new accounts which automatically changes the PHP version on CloudLinux:
- https://documentation.cpanel.net/display/DD/Guide+to+Standardized+Hooks+-+Script+Hooks (check postwwwacct)
- https://docs.cloudlinux.com/index.html?selectorctl.html