{"id":447,"date":"2023-04-26T16:01:50","date_gmt":"2023-04-26T16:01:50","guid":{"rendered":"https:\/\/techtutelage.net\/?p=447"},"modified":"2025-05-18T05:05:18","modified_gmt":"2025-05-18T05:05:18","slug":"how-to-install-ioncube-php-encoder-on-hestia","status":"publish","type":"post","link":"https:\/\/techtutelage.net\/?p=447","title":{"rendered":"How to install IonCube PHP Encoder on Hestia"},"content":{"rendered":"\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/3jTphhDv00Y\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n\n\n\n<p>The ionCube PHP Encoder is a widely used tool that allows developers to protect their PHP files with powerful encryption and security features. To use ionCube-encoded files on a web server, the ionCube Loader must be installed and made available to PHP. To install ionCube Loader on you server go ahead and download the latest version available for your operating system. You can download it from the link below:<\/p>\n\n\n\n<p class=\"has-text-align-left\"><a href=\"https:\/\/www.ioncube.com\/loaders.php\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.ioncube.com\/loaders.php<\/a><\/p>\n\n\n\n<p>On Linux server with ARM architecture you can download it by running the below command, if you need 32-bit and 64-bit version you can get the link from from the link above.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background\"><code>wget https:\/\/downloads.ioncube.com\/loader_downloads\/ioncube_loaders_lin_aarch64.zip<\/code><\/pre>\n\n\n\n<p>Once you have ionCube Loader package downloaded you will have to unzip it<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background\"><code>unzip ioncube_loaders_lin_aarch64.zip<\/code><\/pre>\n\n\n\n<p>Once you unzip the package, a directory called &#8220;ioncube\/&#8221; will get created on your system. In that directory you will find all available onCube Loader php extensions, the version of each extension corresponds to the version of php it needs to run, (e.g. ioncube_loader_lin_8.1.so is extension for php8.1) <\/p>\n\n\n\n<p>Run the following command to find out your current PHP version<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background\"><code>php -v<\/code><\/pre>\n\n\n\n<p>Next you need to figure out your default PHP extensions directory you can do that by running the following command<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background\"><code>php -i | grep extension_dir<\/code><\/pre>\n\n\n\n<p>Once you know your PHP version and path to the PHP extensions default directory, copy that extensions file supported by your PHP version to the default extensions directory.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background\"><code>cp ioncube\/ioncube_loader_lin_8.1.so \/usr\/lib\/php\/20210902<\/code><\/pre>\n\n\n\n<p>Next login to your Hestia Control Panel and open &#8220;php.ini&#8221; file. Server Settings -&gt; php8.1-fpm add the following line anywhere in the file.  Make sure you replace the path with your default extensions path.<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background\"><code>zend_extension=\/usr\/lib\/php\/20210902\/ioncube_loader_lin_8.1.so<\/code><\/pre>\n\n\n\n<p>Go ahead and save the changes to the &#8220;php.ini&#8221;, that will restart your web server and at that point you should have ionCube PHP Encoder sucesfully installed and loaded on you Hestia server. To confirm installation run <\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background\"><code>php -v<\/code><\/pre>\n\n\n\n<p> For more detailed explanation, with visuals go ahead and checkout my video tutorial on <a href=\"https:\/\/youtu.be\/3jTphhDv00Y\" data-type=\"URL\" data-id=\"https:\/\/youtu.be\/3jTphhDv00Y\" target=\"_blank\" rel=\"noreferrer noopener\">Youtube<\/a> .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ionCube PHP Encoder is a widely used tool that allows developers to protect their PHP files with powerful encryption and security features. To use ionCube-encoded files on a web server, the ionCube Loader must be installed and made available to PHP. To install ionCube Loader on you server go ahead and download the latest [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,1],"tags":[],"class_list":["post-447","post","type-post","status-publish","format-standard","hentry","category-tutorials","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/techtutelage.net\/index.php?rest_route=\/wp\/v2\/posts\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techtutelage.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techtutelage.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techtutelage.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techtutelage.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=447"}],"version-history":[{"count":7,"href":"https:\/\/techtutelage.net\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":455,"href":"https:\/\/techtutelage.net\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions\/455"}],"wp:attachment":[{"href":"https:\/\/techtutelage.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techtutelage.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techtutelage.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}