wrong Ioncube Loader being loaded
I ran the script /scripts/phpextensionmgr install IonCubeLoader
phpinfo says I have Ioncube 4.75
the app requires 5.6 to go with my PHP v5.6
I looked at my php.ini and it has (uncommented)
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.6.so"
and that .so file is available in that location.
What am I missing. I restarted apache.
-
Do you have EasyApache4 in your WHM? If yes, you can simply enable IonCube5.6 for PHP56. 0 -
no I'm still on EA3 0 -
Hello, Are you using any custom php.ini files within the account you are checking the PHPINFO file on? Thank you. 0 -
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 -
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 -
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 -
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 -
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 -
Glad to hear that it's working out for you! ;):) 0
Please sign in to leave a comment.
Comments
9 comments