How to install PHP selector on cPanel with CloudLinux?

If your server installed cPanel with CloudLinux and you will see the below error message at
cPanel > PHP Selector:

Config file (Cannot read /etc/cl.selector/selector.conf: [Errno 2] No such file or directory:
'/etc/cl.selector/selector.conf'. Native used) not found
Warning: Changing php modules and php options via PHP Selector for native php version is impossible

It means PHP selector not installed on the server. This can be fixed by running below command :
yum groupinstall alt-php*

That's it!

Was this answer helpful?

 Print this Article

Also Read

Error: Website not found. If the website was recently renamed or moved please edit the install to save the new location (Files & Tables tab).

I was getting below error when opening installatron for all installs - Error message - Error:...

How to exclude file/folder from backup (pkgacct) on cPanel server?

Is it possible to exlude file/folder from the full cPanel backup on cPanel server? Solution :-...

How to renew the cPanel license on your server?

Quickest way to renew cPanel license - First, you may check if the server has valid license for...

#145 - Table './database_name/table_name' is marked as crashed and should be repair

I was getting below error while accessing one site - Error in establishing database...

mod_security rule [Id '-1'] triggered! ModSecurity: Access denied with code 403

While updating the contents in any of the CMS, I was getting 403 error on litespeed server....

Powered by WHMCompleteSolution