There are several blogs and forums who offers various methods and process to install or enable IonCube in your hosting panel. Some says to create a “PHP.INI” , “PHP5.INI” or “.users.ini”, and add some lines in that. But how you could know that among these 3 files which one will work.
Thats the big deal.
So we have tested it step-by-step in our hosting panels and brought you the BEST and EASIEST way to install the IonCube on your Server.
No matters what type of hosting panel you owns or in which company have you choosen for hosting your website/Blog/Forum. This methods will certainly work (100%) and will start working from the 1st instal.
First login to your hosting manager or cPanel or anything else you have got. Now before starting the process go to your root folder or public_html folder in your hosting account. Create a phpinfo.php file in the root directory. The file should be hosted so that you can access your “phpinfo.php” file through your domain. E.g :- .
Now Edit your phpinfo.php file, either through online code editor or through notepad or your favourite text editor, and add the following lines.
<? phpinfo(); ?>
Save It and Access your file through your domain :-
Now you will have a detailed lists of your php running on your server. From there you have to note down 3 things.
- Your PHP Version,
- Details of your Loaded Configuration File,
- Check is this line is present or not in your PHP details [ phpinfo.php ] ” This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies “
If the 3 line is present, then you can continue ahead, if not for any reason then contact your hosting support to enable zend support in your hosting account.
So let assume you have the line 3 present in your hosting account.
So here we get started. You need to download two things for Ioncube to work properly. Download IonCube loader And Zend Loader. As you have downloaded both the files now its time to upload them on your server. In your root directory or in public_html directory create a new folder called “zend” (without quotes) and upload the ZendGuardLoader.so (for Linux hosting) or ZendGuardLoader.dll (For windows Hosting) in that folder which you have extracted from ZendLoader.zip (Downloaded) do the same for ioncube loader, create a folder ” ioncube ” and upload the following files
- ioncube_loader_lin_5.5.so (Latest file in our case),
Now The Upload process is complete , lets begin installing them.
Above we mentioned to you to note down 3 things, now we are going to use them. Check which file is associated with your Loaded Configuration File. You will see something like this ,
In our case its /home/YOURUSERNEME/public_html/php.ini , So we will go straight ahead to our public_html and edit the php.ini if it exists or create a new php.ini and add the below lines in it. Replace YourUSERNAME with your actual username.
zend_extension = /home/YourUSERNAME/public_html/ioncube/ioncube_loader_lin_5.4.so
zend_extension = /home/YourUSERNAME/public_html/zend/ZendGuardLoader.so
zend_extension = /home/YourUSERNAME/public_html/zend/ZendOptimizer.so
change allow_url_fopen = on
; Enables loading encoded scripts. The default value is On
; Disable license checks (for performance reasons)
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
Huraaaah installation is complete to 90% . Now the final step. Remember you have uploaded loader-wizard.php in ioncube folder, its time to access them. Open the url as follows. http://YourWebSiteName.com/ioncube/loader-wizard.php . The script will automatically do all the rest for you. If you have done correctly, You will see the something like this.
But MOST IMPORTANT, remember to delete the phpinfo.php and loader-wizard.php file completely.
Thanks, If you want to say anything comment below.
If you have any problem installing this, or has got any new idea or anything else, headover to our forum and community discussion and post there.
FEATURED IMAGE BY Getty Images