Issue
How to change PHP modules when using different PHP versions per domain?
Environment
- alt-php
- suPHP
- mod_lsapi
Solution
1. Create a file /etc/cl.selector/symlinks.rules
and add this line inside it:
php.d.location = selector
2. Once done, apply the changes via the following command:
/usr/bin/selectorctl --apply-symlinks-rules
3. Now you can manage the list of PHP extensions inside the cPanel account even for custom-configured alt-php versions.
Useful links
https://docs.cloudlinux.com/cloudlinux_os_components/#php-extensions
Different PHP versions per directories using mod_lsapi
Different PHP versions per directories using suPHP
Comments
0 comments
Please sign in to leave a comment.