Skip to main content

PHP Selector does not work anymore

Comments

7 comments

  • cPanelLauren
    Hello @moolideejay There is no way to disable cPanel's MultiPHP UI but that shouldn't be interfering with CloudLinux's PHP Selector. I do know that they pushed an update to the LVE Manager last night that was mildly problematic for some customers, though it wasn't specific to the issue you're experiencing. Re-Provisioning EasyApache won't help with this situation either, most likely. Do you happen to be running LSAPI? There was an issue about two days ago which is discussed here that did affect the PHP Selector
    0
  • moolideejay
    Yes, we use mod_lsapi. I guess I should change the PHP handler to the good old mod_SuPHP and see what happens.
    0
  • moolideejay
    I've managed to fix the issue. This is how I did it: - Provisioned a new profile in EA4 (CloudLinux + All PHP Options + OpCache) which removed mod_lsapi and installed mod_suphp. - Updated alt-php with #yum groupinstall alt-php Apparently, mod_lsapi was causing the issue and removing it via provisioning a new profile in EasyApache fixed my problem. Thank you cPanelLauren for suggesting the mod_lsapi.
    0
  • linkedla
    Hello, I am having this issue, in cpanel I can't select a different version of PHP, also to change the extensions set it says 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. I have enabled in WHM PHP7.3, 7.4 and 8 but those options are not available in cpanel, only the one selected for the user in WHM/multi PHP.
    0
  • cPRex Jurassic Moderator
    @linkedla - the message you're seeing there is normal and just letting you know that you can't change settings for the "native" PHP version. That version will just include whatever is setup in EasyApache on the system for that version of PHP. When you installed the other PHP versions in EasyApache, did you make sure to install the alt-php versions instead of the ea-php versions?
    0
  • linkedla
    @linkedla - the message you're seeing there is normal and just letting you know that you can't change settings for the "native" PHP version. That version will just include whatever is setup in EasyApache on the system for that version of PHP. When you installed the other PHP versions in EasyApache, did you make sure to install the alt-php versions instead of the ea-php versions?

    I had only what by default EasyApache let me select, I found that I can install alt-php versions with this: Installation of different versions of PHP & modules: $ yum groupinstall alt-php Update CageFS & LVE Manager with support for PHP Alternatives: $ yum update cagefs lvemanager I have cloudlinux on my server, so I ran those two commands and now I have all the PHP versions from 4 to 8 PHP 4.4 ( alt-php44 ) PHP 5.1 ( alt-php51 ) PHP 5.2 ( alt-php52 ) PHP 5.3 ( alt-php53 ) PHP 5.4 ( alt-php54 ) PHP 5.5 ( alt-php55 ) PHP 5.6 ( alt-php56 ) PHP 7.0 ( alt-php70 ) PHP 7.1 ( alt-php71 ) PHP 7.2 ( alt-php72 ) PHP 7.3 ( alt-php73 ) PHP 7.4 ( alt-php74 ) PHP 8.0 ( alt-php80 ) PHP 5.6 ( ea-php56 ) PHP 7.3 ( ea-php73 ) PHP 7.4 ( ea-php74 ) PHP 8.0 ( ea-php80 ) Now I need to know how to delete the old ones and just left 5.6 for a few more days and, 7.3, 7.4 and 8, and I think there will be the alt and ea versions? Thank you for your answer and help.
    0
  • ankeshanand
    You can go to EasyApache4 and Select Custom Provisioning profiles for this.
    0

Please sign in to leave a comment.