Skip to main content

wrong Ioncube Loader being loaded

Comments

9 comments

  • Muhammed Fasal
    Do you have EasyApache4 in your WHM? If yes, you can simply enable IonCube5.6 for PHP56.
    0
  • jimlongo
    no I'm still on EA3
    0
  • cPanelMichael
    Hello, Are you using any custom php.ini files within the account you are checking the PHPINFO file on? Thank you.
    0
  • jimlongo
    I created a new folder at the root of the account, and put the app and its installer in there. PHPINFO doesn't indicate there are any other config files, it says /usr/local/lib/php.ini is the config file. So i don't think there's any other php.ini files involved. If I comment out the line zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.6.so" then Ioncube is not loaded as you would expect. Uncomment it, and 4.75 is loaded.
    0
  • Muhammed Fasal
    You will need to install it manually. Download ioncube from their site according to your system: Loader Download - PHP Encoder, protection, installer and performance tools from ionCube So for example, for linux x86,
    # cd /usr/local/src # wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz # tar -xfz ioncube_loaders_lin_x86.tar.gz # mv ioncube /usr/local
    Use a text editor to open up php.ini in /usr/local/lib/phi.ini and insert: zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.6.so according to your php version. Save and restart httpd. Let me know if it helps... ;)
    0
  • jimlongo
    Thanks, that sounds like what I've been thinking, but where are the download instructions from? I don't see them. Trying what you pasted, tar -xfz ioncube_loaders_lin_x86.tar.gz tar: z: Cannot open: No such file or directory
    0
  • Muhammed Fasal
    You need to download the tar file first from their site. For example, for linux x86, run below commands.
    cd /usr/local/src wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz tar -xfz ioncube_loaders_lin_x86.tar.gz mv ioncube /usr/local
    Then follow the steps in my previous response. :)
    0
  • jimlongo
    Alright, I unzipped the proper package (x86-64) and ran the loader-wizard.php Now I have `with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.` Thank you.
    0
  • Muhammed Fasal
    Glad to hear that it's working out for you! ;):)
    0

Please sign in to leave a comment.