Issue
How to add and define PHP settings per customer or for all users in CloudLinux PHP Selector?
Environment
- CloudLinux
- PHP Selector
Solution
1. If you wish to define any PHP setting globally for all alt-PHP versions and all users who use these PHP's, use this article: https://docs.cloudlinux.com/cloudlinuxos/cloudlinux_os_components/#configuring-global-php-ini-options-for-all-alt-php-versions
2. If you wish to define the setting and allow your users to change its value via PHP Selector UI - then you should define it in the /etc/cl.selector/php.conf as described in this guide: https://docs.cloudlinux.com/cloudlinuxos/cloudlinux_os_components/#custom-php-ini-options
3. If you wish to define a setting for the only separate user(s) but don't allow the rest users to manage its value (like in case 2 above), use this article: https://docs.cloudlinux.com/cloudlinuxos/cloudlinux_os_components/#how-to-add-additional-php-ini-file-for-a-user-inside-cagefs
Comments
0 comments
Please sign in to leave a comment.