GoAdmio

PHP Encoder

Encode a website's PHP source files so the code can't be read, and so it runs only through GoAdmio's installed decoder.

Location Home » Security » PHP Encoder
Category Security
Required fields Website, Encryption Key
Command line /go/encoder
Last updated 2026-11-22

On this page: Overview · Quick start · Fields · Troubleshooting · Details · See also


Overview

PHP Encoder encodes the PHP source files of one website. Encoded files can't be read as plain code, and they run only through the decoder that GoAdmio installs on the server.

Use it to protect code you sell or distribute, or to stop other people on a shared account from reading your source.

[!WARNING] Encoding changes a website's PHP files. Create a snapshot of the account first so you can go back. See Snapshots.


Quick start

  1. Create a snapshot of the account in Snapshots.
  2. Go to Security » PHP Encoder.
  3. Choose the Website.
  4. Enter an Encryption Key, and keep a copy of it somewhere safe.
  5. Click the encode button at the bottom of the form.
  6. Open the website and check that it works.

Fields

Field Required Default Notes
Website Yes First domain in the list The domain whose PHP files are encoded. Choose from the domains hosted on the server.
Encryption Key Yes None The key used to encode the files. At least 8 characters, with at least one number, one uppercase letter, and one lowercase letter. Max 100 characters. It is shown as plain text.

Troubleshooting

Symptom Likely cause Fix
The form won't submit The key doesn't meet the rules. Use at least 8 characters, with a number, an uppercase letter, and a lowercase letter.
The website shows errors after encoding The encoded code failed, or the site needs to change its own files. Restore the account from the snapshot you created. See Snapshots.
Encoded files don't run on another server The decoder is missing there. Encoded files run only on servers with GoAdmio's decoder installed. Keep an unencoded copy of the source.
You lost the encryption key The key was not saved. Restore the original files from your snapshot or backup.

Details

From the command line

The encoder command encodes a domain's PHP source files so they run only through GoAdmio's installed decoder:

/go/encoder

For the full syntax, arguments, and examples, see the command reference: https://www.goadmio.com/commands/encoder


See also

Page Description
Snapshots Create and restore account snapshots
Backup Wizard Create and download backups
PHP Manager Install PHP versions
Disable PHP Functions Restrict risky PHP functions
Fix Permissions Repair file permissions