Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Upgrade ionCube loader for php7.0?

Discussion in 'EasyApache' started by AGuyInFL, Oct 21, 2017.

  1. AGuyInFL

    AGuyInFL Member

    Joined:
    Jul 20, 2015
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Website Owner
    I just upgraded to EA4 and I noticed that php7.0 comes with ionCube Loader 6 but php7.1 comes with ionCube Loader 10

    I'd like to use ionCube Loader 10 for my php7.0 as well.

    Is there a way to change / upgrade the ionCube Loader for the php7.0?

    If there's, then how? (Detailed steps would be appreciated).
     
  2. sktest123

    sktest123 Well-Known Member

    Joined:
    Jan 31, 2017
    Messages:
    87
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    kochin
    cPanel Access Level:
    Root Administrator
    I guess version 10 minimum requirement says php 7.1, so seems unsupported, you may run into issues
     
  3. AGuyInFL

    AGuyInFL Member

    Joined:
    Jul 20, 2015
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Website Owner
    What is the latest iconCube loader for php7.0? Do you know?

    The problem is I bought a script and everything works fine except the sign up page goes to an error 500 page. I contacted the tech support for that script and the guy said that the problem could be an outdated ionCube loader (the script works with php7.0 only). I don't question what he said, I bought from them before, so I am pretty sure he knows what he's talking about. So, I need to somehow upgrade that ionCube loader for php7.0 to the latest one.

    I tried to install it from Loader Download - PHP Encoder, protection, installer and performance tools from ionCube but somehow it never finishes it. It does say that the ionCube loader I am using is outdated, but it would not install a new one. Not sure why.
     
  4. amdbuilder

    amdbuilder Member
    PartnerNOC

    Joined:
    Feb 5, 2013
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Durham, NC
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Looking at the ionCube loader changelog it would appear the 10.0.x branch does support PHP 7.0.x and PHP 7.1.x. That being said you may want to stick with the 6.x.x branch for PHP 7.0.x as it will likely be more stable.

    The last 6.x.x release was 6.1.0 on 5/24/2017, and 10.0.3 on 9/26/2017.

    You might want to ask him what version of ionCube did he encode the script to target.
     
    AGuyInFL likes this.
  5. AGuyInFL

    AGuyInFL Member

    Joined:
    Jul 20, 2015
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Website Owner
    I suppose I can just wait. Sooner or later Apache will have new updates and who knows maybe php7.0 will have a newer (and more stable) ionCube.

    PS The guy insists that it should work with my current ionCube. Not sure what the deal is. Meantime I will run the script on php5.6.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,721
    Likes Received:
    1,705
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's possible the error message is unrelated to the version of IonCube Loaders utilized by your website. You can check the "Errors" option in cPanel when you encounter the "500" error code to see what the specific error message is.

    Thank you.
     
    AGuyInFL likes this.
  7. AGuyInFL

    AGuyInFL Member

    Joined:
    Jul 20, 2015
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Website Owner
    Sure enough php7.0 with ionCube10 is now part of EasyApache4 (I guess it was installed after I ran an update a couple days ago). Nice.
     
  8. rogerw

    rogerw Member

    Joined:
    Feb 21, 2012
    Messages:
    21
    Likes Received:
    3
    Trophy Points:
    53
    cPanel Access Level:
    Website Owner
    I migrated two of the servers to EA4 and observe there is no ionCube. The cPanel documentation says there is (https://documentation.cpanel.net/display/EA4/PHP+Loader:+ionCube+5), but alas, there is not.

    Specifically, the above linked resource states:

    "To install or uninstall the ionCube 5 in EasyApache 4, use WHM's EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4)."​

    However, that's not the case - There's no option to install using WHM (even when I use the search feature in "PHP extentions")

    It goes on to state:

    "Alternately, you can run the following command on the command line:

    yum install ea-php<version>-php-ioncube5

    In the example above, <version> represents the version of PHP for which you wish to install ionCube. If you wish to use ionCube 5 with PHP version 5.5, your command may resemble the following example: yum install ea-php55-php-ioncube5"​

    Would it be safe to try the command even when WHM does not have the option?

    Does anyone have a solution handy? I specifically need ionCube 5 (which runs perfectly using EA3 install options).
     
  9. rogerw

    rogerw Member

    Joined:
    Feb 21, 2012
    Messages:
    21
    Likes Received:
    3
    Trophy Points:
    53
    cPanel Access Level:
    Website Owner
    Update for anyone else reading this thread...

    cPanel currently has no EA4 support for IonCube in PHP 7.1 or PHP 7.2 - I found that on this cPanel resource:
    PHP Options - EasyApache 4 - cPanel Documentation

    For now at least, the highest version of PHP (via EA4) is 7.0 and then IonCube 6

    I hope this helps someone.
     
  10. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    618
    Likes Received:
    192
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Just a note to remind users of CloudLinux alt-php that IonCube is supported in the following php versions from the stable repos since 6th September 2017

    alt-php44-ioncube-loader-10.0.1-1
    alt-php51-ioncube-loader-10.0.1-1
    alt-php52-ioncube-loader-10.0.1-1
    alt-php53-ioncube-loader-10.0.1-1
    alt-php54-ioncube-loader-10.0.1-1
    alt-php55-ioncube-loader-10.0.1-1
    alt-php56-ioncube-loader-10.0.1-1
    alt-php70-ioncube-loader-10.0.1-1
    alt-php71-ioncube-loader-10.0.1-1

    The following are available in beta from testing repos as at 2 November 2017

    alt-php44-ioncube-loader-10.0.4-1
    alt-php51-ioncube-loader-10.0.4-1
    alt-php52-ioncube-loader-10.0.4-1
    alt-php53-ioncube-loader-10.0.4-1
    alt-php54-ioncube-loader-10.0.4-1
    alt-php55-ioncube-loader-10.0.4-1
    alt-php56-ioncube-loader-10.0.4-1
    alt-php70-ioncube-loader-10.0.4-1
    alt-php71-ioncube-loader-10.0.4-1
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,721
    Likes Received:
    1,705
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Note that IonCube 10 for PHP 7.1 is available. You can install it via the EasyApache 4 interface in WHM or with the following command:

    Code:
    yum install ea-php71-php-ioncube10
    Support for Ioncube with PHP 7.2 is not yet published to the EA4 production repo.

    Thank you.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,721
    Likes Received:
    1,705
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page