I'm using CloudLinux 7.5 + cPanel 72.0.7. I got really confused because under:
WHM > Software > MultiPHP Manager > System PHP Version
If I select this as ea-php72, my IonCube Loader will work.
but if I change it back to alt-php72, the IonCube Loader will no longer work.
However, under cPanel > Software > Select PHP Version, the Current PHP version is set to 7.2 and IonCube Loader is enabled there. I'm getting really confused. Why is my cPanel using alt-php72 but my "php -v" is showing 7.2.6 (from the ea-php72).
I just wanted to set the alt-php72 as the default System PHP Version and make the IonCube Loader 10 to work as well. How and where do set the php.ini? Enabling or disabling the checkbox for IonCube Loader at Server Configuration > Tweak Settings will not do any difference (because when I use alt-php72 as the default system PHP version, nothing will happen but if I use ea-php72 the tweak settings will work. Are you confuse yet? I know, me too. This whole ALT and EA clash is making my life a bit harder. All I want is a simple procedure to make all my future accounts to use alt-php72 by default with IonCube Loader enabled and they can use the PHP selector in cPanel interface (I have already disable the MultiPHP to avoid further confusion).
Under WHM > Software > MultiPHP Manager, my domain is currently set using alt-php72 but that's weird why the IonCube Loader will not work if I use alt-php72 as the system default version? I need to manually set all other accounts to use alt-php72 to get the IonCube loader to work (or at least use use the 7.2.7 from ALT not 7.2.6 from EA).
At this point, I'm not sure if I should post this issue to CloudLinux's forum, or under EasyApache category, or CloudLinux category? As you can see, I'd like to completely disable EasyApache MultiPHP and use CloudLinux's PHP Selector only but there's no easy way to do this, they both are working concurrently (just the matter of choosing them in the settings out of personal preferences) and the settings are too much of a burden for a newbie like me to handle, they are everywhere from LVE side, Tweak side, manual php.ini side, cPanel MultiPHP side, PHP Selector side, how how how?
For reference: I recently run this command yum update alt-php72 --enablerepo=cloudlinux-updates-testing to see if I can get that IonCube Loader 10 to work if I choose alt-php72 as the default system php version but still no luck. Apart from that, I've already run yum install ea-php70-php-ioncube10 and yum install ea-php71-php-ioncube10 but there's isnt any yum install ea-php72-php-ioncube10 in the repo.
WHM > Software > MultiPHP Manager > System PHP Version
If I select this as ea-php72, my IonCube Loader will work.
Code:
# php -v
ea-php-cli Copyright 2017 cPanel, Inc.
PHP 7.2.6 (cli) (built: Jun 21 2018 16:32:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.0, Copyright (c) 2002-2018, by ionCube Ltd.
with Zend OPcache v7.2.6, Copyright (c) 1999-2018, by Zend Technologies
Code:
# php -v
ea-php-cli Copyright 2017 cPanel, Inc.
PHP 7.2.7 (cli) (built: Jul 4 2018 08:15:29) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
I just wanted to set the alt-php72 as the default System PHP Version and make the IonCube Loader 10 to work as well. How and where do set the php.ini? Enabling or disabling the checkbox for IonCube Loader at Server Configuration > Tweak Settings will not do any difference (because when I use alt-php72 as the default system PHP version, nothing will happen but if I use ea-php72 the tweak settings will work. Are you confuse yet? I know, me too. This whole ALT and EA clash is making my life a bit harder. All I want is a simple procedure to make all my future accounts to use alt-php72 by default with IonCube Loader enabled and they can use the PHP selector in cPanel interface (I have already disable the MultiPHP to avoid further confusion).
Under WHM > Software > MultiPHP Manager, my domain is currently set using alt-php72 but that's weird why the IonCube Loader will not work if I use alt-php72 as the system default version? I need to manually set all other accounts to use alt-php72 to get the IonCube loader to work (or at least use use the 7.2.7 from ALT not 7.2.6 from EA).
At this point, I'm not sure if I should post this issue to CloudLinux's forum, or under EasyApache category, or CloudLinux category? As you can see, I'd like to completely disable EasyApache MultiPHP and use CloudLinux's PHP Selector only but there's no easy way to do this, they both are working concurrently (just the matter of choosing them in the settings out of personal preferences) and the settings are too much of a burden for a newbie like me to handle, they are everywhere from LVE side, Tweak side, manual php.ini side, cPanel MultiPHP side, PHP Selector side, how how how?
For reference: I recently run this command yum update alt-php72 --enablerepo=cloudlinux-updates-testing to see if I can get that IonCube Loader 10 to work if I choose alt-php72 as the default system php version but still no luck. Apart from that, I've already run yum install ea-php70-php-ioncube10 and yum install ea-php71-php-ioncube10 but there's isnt any yum install ea-php72-php-ioncube10 in the repo.