Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

How to update ionCube Loader to the latest version for 7.3 and 7.4 shipped by Plesk?

 
apachebackupcentoscloudlinuxdebian

Question

How to update ionCube Loader to the latest version for PHP 7.3 and 7.4 shipped by Plesk?

Answer

  1. Connect to the server via SSH.

  2. Download the latest version of the loader:

    # cd /root/
    # wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

  3. Unpack it:

    # tar -xvf ioncube_loaders_lin_x86-64.tar.gz

  4. Install It:

    For Debian and Ubuntu:

    • Backup the old loader:
      For PHP 7.3:

      # cp -av /opt/plesk/php/7.3/lib/php/modules/ioncube_loader_lin_7.3.so{,.old}

      For PHP 7.4:

      # cp -av /opt/plesk/php/7.4/lib/php/modules/ioncube_loader_lin_7.4.so{,.old}

    • Install a new one:
      For PHP 7.3:

      # cp -av ioncube/ioncube_loader_lin_7.3.so /opt/plesk/php/7.3/lib/php/modules/ioncube_loader_lin_7.3.so

      For PHP 7.4:

      # cp -av ioncube/ioncube_loader_lin_7.4.so /opt/plesk/php/7.4/lib/php/modules/ioncube_loader_lin_7.4.so

    • Set permissions if required:

      For PHP 7.3:

      # chown root:root /opt/plesk/php/7.3/lib/php/modules/ioncube_loader_lin_7.3.so && chmod 644 /opt/plesk/php/7.3/lib/php/modules/ioncube_loader_lin_7.3.so

      For PHP 7.4:

      # chown root:root /opt/plesk/php/7.4/lib/php/modules/ioncube_loader_lin_7.4.so && chmod 644 /opt/plesk/php/7.4/lib/php/modules/ioncube_loader_lin_7.4.so

    For RHEL, CentOS and CloudLinux:

    • Backup the old loader:

      For PHP 7.3:

      # cp -a /opt/plesk/php/7.3/lib64/php/modules/ioncube_loader_lin_7.3.so{,.old}

      For PHP 7.4:

      # cp -a /opt/plesk/php/7.4/lib64/php/modules/ioncube_loader_lin_7.4.so{,.old}

    • Install a new one (confirm file overwriting when asked):

      For PHP 7.3:

      # cp -a ioncube/ioncube_loader_lin_7.3.so /opt/plesk/php/7.3/lib64/php/modules/ioncube_loader_lin_7.3.so

      For PHP 7.4:

      # cp -a ioncube/ioncube_loader_lin_7.4.so /opt/plesk/php/7.4/lib64/php/modules/ioncube_loader_lin_7.4.so

    • Set permissions if required:

      For PHP 7.3:

      # chown root:root /opt/plesk/php/7.3/lib64/php/modules/ioncube_loader_lin_7.3.so && chmod 644 /opt/plesk/php/7.3/lib64/php/modules/ioncube_loader_lin_7.3.so

      For PHP 7.4:

      # chown root:root /opt/plesk/php/7.4/lib64/php/modules/ioncube_loader_lin_7.4.so && chmod 644 /opt/plesk/php/7.4/lib64/php/modules/ioncube_loader_lin_7.4.so

  5. Restart Apache Web Server in order to apply the change:

    • For Debian and Ubuntu:

      # service apache2 restart

    • For RHEL-based operating systems:

      # service httpd restart

  6. Check the version by executing php -v command for the corresponding PHP version. For example, for PHP 7.3:

    # /opt/plesk/php/7.3/bin/php -v | grep -i ioncube
    With the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com v10.2.0, Copyright (c) 2002-2018, by ionCube Ltd.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Your Complete .htaccess Guide: Including .htaccess Basics and More

Read More »

NGINX vs Apache – Which Is the Best Web Server in 2024?

Read More »

Top Web Servers For Linux And Windows

Read More »
Knowledge Base

How to install the php-mcrypt module on a Plesk server

Read More »

Unable to upload file to website on Plesk: Request body no files data length is larger than the configured limit

Read More »

Websites on Plesk server are slow or show error 500 or PHP mail cannot be sent: ap_pass_brigade failed

Read More »

How to allow access to a website directory from specific IP address in Plesk?

Read More »

Hosting Wiki

  • Server Redundancy
  • Bare Metal Server
  • Backup
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • PHP
  • Plesk
  • Apache Tomcat
  • Apache
  • Web Server
  • DNS Server
  • SSH
  • Email Virus Protection
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family