Issue
The following error occurred after migrating the PHP Selector settings:
Cannot get an extensions list for version "4.4". Please make sure that the Native PHP works fine and run "cloudlinux-selector setup --interpreter=php --json" to configure PHP selector.
Solution
- If the PHP version does not exist anymore and not required, remove that version info from
/etc/cl.selector/selector.conf
. In the example below, PHP 4.4 is used: # grep ' 4\.4' /etc/cl.selector/selector.conf
php 4.4 4.4.9 /opt/alt/php44/usr/bin/php-cgi
php-cli 4.4 4.4.9 /opt/alt/php44/usr/bin/php
lsphp 4.4 4.4.9 /opt/alt/php44/usr/bin/lsphp
php.ini 4.4 4.4.9 /opt/alt/php44/etc/php.ini
OR
- Change the Native PHP version from 8.0 to 7.4, after that ran the following commands:
# yum groupinstall alt-php
# yum reinstall alt-php44*
Comments
0 comments
Please sign in to leave a comment.