GoAdmio Command Line: ioncube with /go/ioncube

/go/ioncube installs the ionCube Loader, which PHP needs to run files that were encoded with ionCube. It: It is safe to run again. A version that already has the loader is reported and left alone. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/ioncube

Examples

# Install or refresh the loader for all PHP versions
/go/ioncube

# Check which loader files are available
ls /usr/local/ioncube

# Check that a PHP version loads it (Debian and Ubuntu)
php8.3 -v

# Check that a PHP version loads it (AlmaLinux, Rocky, CentOS, Red Hat, Fedora)
/opt/remi/php83/root/usr/bin/php -v

The version line should end with with the ionCube PHP Loader.

Output

Outcome What you get
Loader added Installing ionCube loader PHP <x.y> (FPM)..., and on Debian and Ubuntu also (CLI)
Loader already in php.ini ionCube loader PHP <x.y> already installed (FPM). or (CLI).
No loader for that PHP version Nothing is printed.
Download or unpack failed Nothing is printed.

The download and unpack steps are silent. The exit code is 0.

Logging

Every run is appended to /var/log/go/ioncube.log.

See the full reference at /go/ioncube and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *