Skip to content
Oxrion Loader

Loader / Install

Install the loader

One command installs the loader on a server you control. It detects your PHP version, downloads the matching build, enables it in php.ini, and verifies the install — nothing to pick by hand.

Don't want to do it yourself? Find an installer.

01 Quick install

One command

One command, run on your server. It detects your PHP, installs the matching build, enables it, and verifies — nothing to download by hand.

Linux / macOS

bash
curl -fsSL https://get-loader.oxrion.com | sh

Windows, PowerShell

powershell
irm https://get-loader.oxrion.com/win | iex

When it finishes, run php -m | grep oxrion to confirm it's active, then restart your web server. To check the site itself, upload the test file and open it in a browser. When OPcache is enabled, the loader loads ahead of it automatically, so protected code is cached and runs at full speed. To compare speed, run the speed test.

02 Several PHP versions

Whole server at once

On a hosting server with several PHP versions — cPanel, CloudLinux, Plesk, DirectAdmin — the CLI finds them all for you. Nothing to list by hand.

bash
# See every PHP it finds
oxrion-loader discover

# Install to all of them
oxrion-loader install --discover

Prefer an explicit list? discover --write=targets.txt saves one you can edit, then install it with --targets=targets.txt. Targets files accept globs like /opt/cpanel/ea-php*/root/usr/bin/php.

03 Optional

Review, then run

Don't want to pipe a remote script straight into your shell? Download it first, read it, then run it. Same automatic install — you just get to see exactly what it does.

bash
# Download the installer
curl -fsSL https://get-loader.oxrion.com -o oxrion-install.sh

# Read it
less oxrion-install.sh

# Run it
sh oxrion-install.sh
View the script on GitHub

Prefer to download the build by hand? Use the manual download →