DOCUMENTATION
Setup & usage guides
Everything you need to run your encrypted product on your server: step-by-step guides, system requirements and answers.
QUICKSTART WIZARD
Zero to sealed in three moves
The fast path for engineers who read manuals last. Every block below is copy-ready; the full walkthroughs live in the setup guide.
-
Identify your PHP build
ozguard ships one binary per PHP flavor. This one-liner prints the version, thread-safety and architecture you must match:
Linux · bashphp -v php -r "echo (PHP_ZTS ? 'TS' : 'NTS') . ' ' . (PHP_INT_SIZE === 8 ? 'x64' : 'x86') . PHP_EOL;"Windows · PowerShellphp -v php -r "echo (PHP_ZTS ? 'TS' : 'NTS') . ' ' . (PHP_INT_SIZE === 8 ? 'x64' : 'x86') . PHP_EOL;" -
Register ozguard with PHP
Drop the extension file into PHP’s extension directory and point php.ini at it. Pick the tab that matches your platform:
Linux · bashsudo cp ozguard.so "$(php -i | awk -F'=> ' '/extension_dir/{print $2}')/" echo "extension = ozguard.so" | sudo tee /etc/php/8.3/mods-available/ozguard.ini sudo phpenmod ozguard && sudo systemctl restart php8.3-fpmWindows · PowerShellCopy-Item .\ozguard.dll "C:\AppServ\php8\ext\" Add-Content "C:\AppServ\php8\php.ini" "`nextension = \"C:\AppServ\php8\ext\ozguard.dll\"" httpd -k restart # Apache — or: iisresetphp.ini; php.ini — enable the OnionZero runtime extension = ozguard.so ; Vendor public key is embedded in the extension — nothing else to setDockerfileFROM php:8.3-fpm COPY ozguard.so /usr/local/lib/php/extensions/ RUN echo "extension = ozguard.so" \ > /usr/local/etc/php/conf.d/ozguard.ini -
Verify the load
The module list must contain an ozguard line — that is PHP confirming the vault is armed:
Linux · bashphp -m | grep ozguardWindows · PowerShellphp -m | findstr ozguard
Requirements at a glance
Full setup guide
The complete ozguard walkthrough: Windows and Linux compatibility matrix, step-by-step install, php.ini reference, Dockerfile pattern and troubleshooting.
Open the setup guideRuntime downloads
Every ozguard build — PHP 8.0–8.5 for Windows (NTS + TS) and PHP 8.1–8.5 for Linux — with SHA-256 checksums lives on the runtime page.