On this page
Installing ionCube Loader
1. Check your PHP version and architecture
php -v
uname -m
Set your version, changing it to match yours:
PHPV=8.3
2. Download and extract
cd /tmp
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -xzf ioncube_loaders_lin_x86-64.tar.gz
On an ARM server (
aarch64), useioncube_loaders_lin_aarch64.tar.gzinstead.
3. Copy the loader into the extension directory
EXTDIR=$(php -r 'echo ini_get("extension_dir");')
sudo cp /tmp/ioncube/ioncube_loader_lin_${PHPV}.so "$EXTDIR/"
4. Enable it
echo "zend_extension=ioncube_loader_lin_${PHPV}.so" | sudo tee /etc/php/${PHPV}/mods-available/ioncube.ini
sudo ln -sf /etc/php/${PHPV}/mods-available/ioncube.ini /etc/php/${PHPV}/cli/conf.d/00-ioncube.ini
sudo ln -sf /etc/php/${PHPV}/mods-available/ioncube.ini /etc/php/${PHPV}/fpm/conf.d/00-ioncube.ini
If you use Apache with mod_php, also link it into
/etc/php/${PHPV}/apache2/conf.d/00-ioncube.ini.
5. Restart services
sudo systemctl restart php${PHPV}-fpm
sudo systemctl restart nginx # or: sudo systemctl restart apache2
6. Verify
php -v
The output should include a line saying “with the ionCube PHP Loader”.
Troubleshooting
If the site still errors after this, the loader is only enabled for the CLI. Check that the fpm/conf.d link exists, then restart PHP-FPM.
Discussion 0
Reading is open to everyone. Posting, replying, reacting and reporting require a Discord account — we only receive your public username and avatar.
No comments yet. Sign in with Discord to start the conversation.
Sign in required
Reading is open to everyone. Posting, replying, reacting and reporting require a Discord account — we only receive your public username and avatar.