If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection 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.
PHP Selector: Im wondering if there is a way to specify the Default PHP version for a specific cPanel Package.
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.
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:
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment