{"id":12352,"date":"2024-04-08T17:35:56","date_gmt":"2024-04-08T12:05:56","guid":{"rendered":"https:\/\/www.skynats.com\/?p=12352"},"modified":"2025-10-16T14:04:17","modified_gmt":"2025-10-16T08:34:17","slug":"how-to-setup-ioncube-loader","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-setup-ioncube-loader\/","title":{"rendered":"How to Install IonCube Loader"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"664\" height=\"200\" sizes=\"(max-width: 664px) 100vw, 664px\" src=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/isntall-ioncube-crmtiger.png\" alt=\"\" class=\"wp-image-12358\" style=\"width:277px;height:auto\" srcset=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/isntall-ioncube-crmtiger.png 664w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/isntall-ioncube-crmtiger-300x90.png 300w\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">IonCube Loader is a PHP extension used to decode files that have been encoded using IonCube&#8217;s proprietary encoding technology. It&#8217;s for protecting PHP-based applications from unauthorized access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the steps to install IonCube Loader to protect your php code in Ubuntu 22.04 server<a href=\"https:\/\/get-loader.ioncube.com\/\" target=\"_blank\" rel=\"noopener\">.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Download and extract the IonCube Loader using the below commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/downloads.ioncube.com\/loader_downloads\/ioncube_loaders_lin_x86-64.tar.gz\ntar -xvzf ioncube_loaders_lin_x86-64.tar.gz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2. After extraction go to IonCube directory<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ioncube\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. Find the directory where you need to copy the extension using command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -i | grep extension_dir<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It will be listed as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"684\" height=\"21\" sizes=\"(max-width: 684px) 100vw, 684px\" src=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-ext-directory.png\" alt=\"ioncube extension directory\" class=\"wp-image-12354\" style=\"width:651px;height:auto\" srcset=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-ext-directory.png 684w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-ext-directory-300x9.png 300w\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. List the ioncube .so extension inside the directory, <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"765\" height=\"630\" sizes=\"(max-width: 765px) 100vw, 765px\" src=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-list.png\" alt=\"ioncube lists\" class=\"wp-image-12355\" style=\"width:463px;height:auto\" srcset=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-list.png 765w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-list-300x247.png 300w\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">5. Make sure to copy the ioncube .so extension that it corresponds to the PHP version. Here it is php8.1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the command below to copy to the directory listed in previous command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp ioncube_loader_lin_8.1.so \/usr\/lib\/php\/20210902<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">6. Find the php configuration path using shell command below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -i | grep 'php.ini'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">7. Load the ionCube extension as a zend_extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">use the echo command below to load the ionCube extension to the php.ini file listed in previous command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 'zend_extension=\/usr\/lib\/php\/20210902\/ioncube_loader_lin_8.1.so' >> \/etc\/php\/8.1\/cli\/php.ini<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">8. Restart the PHP-FPM service to take effect the modified configuration.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>service php8.1-fpm restart<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">9. However, use the following command to check its operation. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -v<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Output should be as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"855\" height=\"96\" sizes=\"(max-width: 855px) 100vw, 855px\" src=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-result.png\" alt=\"ioncube results\" class=\"wp-image-12356\" style=\"width:564px;height:auto\" srcset=\"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-result.png 855w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-result-300x34.png 300w, https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2024\/04\/ic-result-768x86.png 768w\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you run into any issues or hiccups throughout to How to Setup IonCube Loader&nbsp;our&nbsp;<a href=\"https:\/\/www.skynats.com\/blog\/\">Support Team<\/a>&nbsp;members are here to help.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IonCube Loader is a PHP extension used to decode files that have been encoded using IonCube&#8217;s proprietary encoding technology. It&#8217;s for protecting PHP-based applications from unauthorized access. Here is the steps to install IonCube Loader to protect your php code in Ubuntu 22.04 server. 1. Download and extract the IonCube Loader using the below commands. [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[842,5,239,762],"tags":[845,844],"class_list":["post-12352","post","type-post","status-publish","format-standard","hentry","category-php-8-1","category-blog","category-linux","category-ubuntu-22-04","tag-ioncube-loader","tag-php-8-1"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/12352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=12352"}],"version-history":[{"count":1,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/12352\/revisions"}],"predecessor-version":[{"id":15863,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/12352\/revisions\/15863"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=12352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=12352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=12352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}