Demos
Simple Programs
nginx
PHP CLI
nginx + PHP-FPM
MariaDB
Redis
WordPress (LEMP-but-SQLite)
WordPress (LEMP)
Shell
Python
Perl
Ruby
Erlang
PHP CLI on wasm-posix-kernel
PHP 8.4 CLI running inside a POSIX kernel compiled to WebAssembly
-- Load Example --
Hello World
Fibonacci
SQLite3
JSON Processing
Classes & OOP
Array Functions
Run
PHP Code
<?php echo "Hello from PHP on WebAssembly!\n"; echo "PHP version: " . PHP_VERSION . "\n"; echo "OS: " . PHP_OS . "\n";
Output