Having problems with PHP selector

Hi folks,

Sorry if this is in the wrong section.

Im trying to install php extensions for a domain I am hosting.

I have Cloudlinux installed and its using PHP selector. Now normally you would go into PHP selector, and click extensions and do it that way. However, when I goto PHP selector, the only option there looks like this:


1683648855669.png

If I click Use PHP selector it only has native 8.0, and you get this message:

1683648880557.png

If I change it to version 8 native it wont let me install any extensions and I just get this:


Warning

You have selected native PHP version. Changing PHP modules and options is impossible for the native version. You need to select a different PHP version from the dropdown above to enable PHP modules and options configuration.


Now as you can see in the first screennshot, the site I am using was moved to php 8.1 (I tried taking it off native to get the extensions) using multiphp manager.

I guess my questions are, how do I get PHP selector to show all the different versions of php and their extensions?
 
Last edited by a moderator:

ResellerWiz

Well-Known Member
Mar 24, 2023
150
66
103
USA
cPanel Access Level
Root Administrator
Twitter
Make sure you have the PHP versions you want to use enabled in the CloudLinux Manager.
 

ResellerWiz

Well-Known Member
Mar 24, 2023
150
66
103
USA
cPanel Access Level
Root Administrator
Twitter
Try running the following command as root to install alt-php:

yum -y groupinstall alt-php
 

ResellerWiz

Well-Known Member
Mar 24, 2023
150
66
103
USA
cPanel Access Level
Root Administrator
Twitter
Hi,

Can I get a solution with this message with Softaculous?

I cannot install Magento 2.4.6

Best
If you’re host uses CloudLinux’s PHP Selector you should be able to enable the PHP modules from ‘Select PHP Version’ in cPanel.

Otherwise, you may need to contact your host for further information.