DropVPS Team
Writer: Cooper Reagan
how to install ioncube loader in xampp

Table of Contents
IonCube Loader is often required to run encrypted or premium PHP scripts in XAMPP. Here’s a direct, working setup guide for Windows users — no fluff, just what you need.
Step 1: Check Your PHP Version
Open XAMPP Control Panel, start Apache, then open your browser and visit:
http://localhost/dashboard/phpinfo.php
If phpinfo.php doesn’t exist, create it in C:\xampp\htdocs\:
<?php
phpinfo();
?>
Look for:
-
PHP Version (e.g., 8.2.12)
-
Thread Safety (TS or NTS)
-
Architecture (x64 or x86)
You’ll need these details for the correct IonCube loader file.
Step 2: Download IonCube Loader
Go to the official site:
https://www.ioncube.com/loaders.php
Download the Windows (64-bit or 32-bit) loader that matches your PHP version and thread safety.
Example:
ioncube_loaders_win_v13.zip
Extract it to a folder, e.g.:
C:\ioncube\
Step 3: Copy the Correct Loader File
From the extracted folder, pick the matching .dll file — for example:
ioncube_loader_win_8.2_ts.dll
Copy it to:
C:\xampp\php\ext\
Step 4: Edit php.ini
Open:
C:\xampp\php\php.ini
Search for the line:
[Zend]
(or scroll to the end of the file if it doesn’t exist)
Add this line above or below other extensions:
zend_extension = "C:\xampp\php\ext\ioncube_loader_win_8.2_ts.dll"
(Adjust version number and path if needed.)
Save and close the file.
Step 5: Restart Apache
In XAMPP Control Panel, click Stop, then Start again next to Apache.
Step 6: Verify IonCube Loader
Go back to your browser and refresh:
http://localhost/dashboard/phpinfo.php
Scroll down — you should see a new section titled ionCube Loader.
If it appears, the setup is successful.
Optional Step: Quick Troubleshooting
If Apache fails to start:
-
Double-check you used the right
.dll(TS vs NTS) -
Ensure the PHP version matches
-
Verify the file path in
php.iniis correct
If you upgrade PHP in XAMPP later, you’ll need to replace the loader .dll with the correct version for your new PHP build.