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.
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.
How to Find Your IonCube ID
Use the ioncube_loader Function
- Create a PHP File: Create a file called ioncube_id.php.
- Add the Following Code:
<?php
if (function_exists('ioncube_loader_id')) {
echo 'IonCube ID: ' . ioncube_loader_id();
} else {
echo 'IonCube Loader is not installed.';
}
?> - 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. |
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/ zend_extension=/usr/local/ioncube/ioncube_loader_lin_7.x.so
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. |
|
Verify IonCube Installation
- Create a PHP Info File:
nano phpinfo.php
Add the following code:
<?php
phpinfo();
?> - 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.


