Issue
There is the following error:
[ERROR | 2021-10-12 21:09:33,684]: output of the command: /usr/sbin/cloudlinux-selector set --interpreter php --selector-status enabled --json
{"context": {"control_panel": "Plesk", "http_docs": "https://support.plesk.com/hc/en-us/articles/115004177974-How-to-install-PHP-by-OS-vendor-in-Plesk-for-Linux", "native_php_path": "/usr/bin/php-cgi", "setup_command": "cloudlinux-selector setup --interpreter=php --json"}, "result": "Native php version is not installed (\"%(native_php_path)s\" binary is missing), thus CloudLinux PHP selector is not able to work. Please, install native php and run \"%(setup_command)s\" to configure PHP selector. PHP installation instructions for %(control_panel)s: %(http_docs)s", "timestamp": 1634065773.6092122}
Environment
- Plesk
- CloudLinux 7
- CloudLinux 8
Solution
1. Install native PHP packages:
yum install php php-gd php-mbstring php-pdo php-xml
2. Enable PHP selector after that:
cloudlinux-selector setup --interpreter=php --json
Cause
Missing Native PHP packages.
Useful links
Comments
2 comments
Ok, i found a solution:
https://cloudlinux.zendesk.com/hc/en-us/articles/4408076948114-Can-t-install-PHP-Selector-on-Plesk
this helps fine, could u explain me what to do that a customer gets accelerateWP?
Regards
This feature is available in CloudLinux OS Shared Pro subscription, so likely you have to upgrade your license first. When upgraded then just register a server in the same way. More information in official documentation https://docs.cloudlinux.com/cloudlinux-os-plus/#installation
Please sign in to leave a comment.