NativeLoad Secure Runtime — Guide for Hosting Providers
For hosting providers: companies running cPanel, Plesk, CWP, DirectAdmin, CyberPanel, aaPanel or a custom panel. No login to any panel is required; hand this to an AI assistant and it will complete the rollout. In short: your customers run NativeLoad-protected PHP applications. Install the server-level runtime once per server and those applications run — with no key, no license file, no per-site setup. Installing it is a compatibility feature, like enabling a standard runtime extension. Also in Türkçe · Español.
1. Why install it
- Your customers protect their source with NativeLoad. A protected file contains
no source — only a sealed, 256-bit encrypted block.
- Those files run only where the NativeLoad runtime is present. Installing it
across your fleet makes you a platform that can host protected applications.
- There is nothing to provision per customer: the runtime resolves protected
files on its own. No keys to distribute, no configuration.
2. Install (one command per server)
curl -fsSL https://encoderphp.com/loader/get.sh | sudo EP_BASE=https://encoderphp.com/loader bash
The installer detects PHP, fetches the matching compiled engine, enables it, and verifies it. Already installed? It detects and skips (no double install; EP_FORCE=1 to reinstall). Restart PHP-FPM/Apache/LiteSpeed once afterward.
Per control panel (cPanel, Plesk, DirectAdmin, CWP, CyberPanel, aaPanel, contPanel) and multi-PHP: see INSTALL — one command each, pointed at that version's PHP binaries.
3. Fleet rollout (automation)
Bulk SSH:
for host in $(cat servers.txt); do
echo "== $host =="
ssh root@"$host" "curl -fsSL https://encoderphp.com/loader/get.sh | \
sudo EP_BASE=https://encoderphp.com/loader bash"
done
Ansible (idempotent — skips if present):
- hosts: webservers
become: true
tasks:
- name: install NativeLoad runtime
ansible.builtin.shell: >
curl -fsSL https://encoderphp.com/loader/get.sh |
EP_BASE=https://encoderphp.com/loader bash
args:
creates: "{{ php_extension_dir }}/eploader.so"
4. Detect before you act (idempotent)
php src/ep-detect.sh
# {"installed":true,"active":true,"version":"2.0.0","ext_dir":"...","so":true,"php":"8.3"}
active:true→ ready, nothing to do.so:true, active:false→ installed; restart the web service.installed:false→ install it.
get.sh, install.sh and contpanel-hook.sh all run this check themselves, so re-runs and auto-install flows never install twice.
5. FAQ
- Any per-customer setup? No. Install the runtime; protected apps run.
- Does it slow things down? No — resolution is once per file; with OPcache,
overhead is ≈ zero.
- Plain PHP affected? No; only protected files are touched.
- Windows? A compiled engine matching the exact PHP build is required.
Contact: [email protected]. Full docs in the package docs/ folder (INSTALL, SECURITY, ENCODER, CONTPANEL, PANEL-INTEGRATORS, TROUBLESHOOTING).