Era Host hosting
EraHost – Free Domain, Cheap Hosting!
Client Area
Support 24/7
Menu

IonCube ID: What It Is and How to Use It

3 min read
22.11.2025

The IonCube ID is typically a unique identifier generated for a server or system when using the IonCube Loader, a PHP extension used to decode and execute files encoded by the IonCube Encoder. This identifier is often required during licensing processes or when tying a software license to a specific server.

IonCube ID Server Identifier
IonCube ID — hardware-derived; license re-issue after migration.

For closely related encoded PHP / IonCube topics, see Zend Hosting Setup (parallel for Zend Guard) and Cube Hosting Overview (Minecraft, ionCube).

What Is IonCube?

  • IonCube Loader: A PHP extension that enables the execution of encoded PHP files.
  • IonCube ID: A unique system/server identifier used in licensing to ensure the software is running on an authorized machine.

Where Is the IonCube ID Used?

Software Licensing

The IonCube ID ties a software license to a specific server.

Server Identification

Helps identify a server for tracking or validation purposes.

Development

Used by developers to protect their encoded PHP files.

Linux VDS
High performance for your projects
  • Root access and flexible setup
  • Control panel
  • NVMe disks
  • DDR5
Linux VDS

How to Find Your IonCube ID

Use the ioncube_loader Function

  1. Create a PHP File: Create a file called ioncube_id.php.
  2. Add the Following Code:
    <?php
    
    if (function_exists('ioncube_loader_id')) {
    
        echo 'IonCube ID: ' . ioncube_loader_id();
    
    } else {
    
        echo 'IonCube Loader is not installed.';
    
    }
    
    ?>
  3. Run the Script: Access it via your browser or command line:
    php ioncube_id.php

Check Your License-Enabled Software

  • Some IonCube-protected software includes a built-in tool to display the IonCube ID.
  • Look for a "System Info" or "License Info" page in the software interface.

Common Errors and Solutions

Error Solution
IonCube Loader Not Installed
The script outputs: IonCube Loader is not installed.
  1. Install IonCube Loader on your server:
  2. wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
    tar -xvf ioncube_loaders_lin_x86-64.tar.gz
    sudo mv ioncube /usr/local/
  3. Add the IonCube Loader to your PHP configuration:
  4. zend_extension=/usr/local/ioncube/ioncube_loader_lin_7.x.so
  5. Restart your web server:
  6. sudo systemctl restart apache2
    # or for Nginx:
    sudo systemctl restart nginx
Mismatched IonCube ID
The IonCube ID does not match the one linked to your license.
  • Contact your software vendor to reissue the license for the new IonCube ID.

Verify IonCube Installation

  1. Create a PHP Info File:
    nano phpinfo.php

    Add the following code:

    <?php
    
    phpinfo();
    
    ?>
  2. Search for "IonCube":
    • Open the file in your browser and look for "IonCube Loader" under the Zend Modules section.

Secure Use of IonCube

  • Only download IonCube-protected files from trusted sources.
  • Regularly update IonCube Loader to the latest version to avoid compatibility issues with newer PHP versions.

The IonCube ID is essential for licensing and server identification when running encoded PHP applications. By properly installing IonCube Loader and using the provided code snippets, you can easily retrieve your IonCube ID and ensure your software runs smoothly.

Frequently asked questions
Run `ioncube_loader_lin_8.1.so` (or similar version) as `php -r 'echo phpinfo();'` and look for "IonCube Loader" section — the server ID is shown. Or via the IonCube Loader's web page (drop `ioncube-loader-info.php` in document root). The ID is consistent across PHP versions on the same hardware.
IonCube ID changed (new MAC/hostname). License is bound to old ID. Vendor must re-issue the license bound to new ID. Process: find the new ID via phpinfo, contact vendor with the new ID and proof of original purchase, receive new license file, replace on server. Usually fast for established vendors.
Yes — each container has its own MAC, hostname, fingerprint. Production IonCube usage with containers is tricky. Pin the MAC and hostname via container config. Or talk to vendor about volume-licensing for containerized deployments.
Mildly. By itself it doesn't grant access; it just identifies the server. Combined with stolen license file, it lets attacker run your IonCube-licensed apps. Don't post your ID publicly, but don't treat as a password either. Vendor sees it during licensing.
Related articles
MX Hosting — What It Is and How to Use It? Complete Guide
PHP memory_limit = -1: What Does It Mean?
Fixing ERR_INVALID_RESPONSE in PHP — System Administrator's Guide