Pasir v0.1 Launches: High-Performance PHP Application Server Built with Rust
Drupal Developer Luhur Abdi Rizal has released Pasir v0.1, a new PHP application server written in Rust that prioritizes speed and ease of use. Pasir embeds PHP execution directly into a modern HTTP server, offering a fast alternative to traditional PHP-FPM setups while maintaining compatibility with major frameworks like Laravel, Symfony, Drupal, and WordPress.
Built on Rust’s async ecosystem using Hyper and Tokio, Pasir delivers high performance with minimal setup. It runs without configuration by default and uses a simple TOML-based routing system for customization. The server supports PHP 8.1+ with ZTS, and integrates through a custom SAPI and ext-php-rs bindings.
Notable features include support for HTTP/1.1 and HTTP/2, static file serving with gzip compression, regex-based routing, graceful shutdown, hot-swappable connections, built-in request tracing, and Docker compatibility.
Pasir is currently in active development and should be considered experimental for production use. Installation options include pre-built binaries, Docker images, and source builds using Rust.
For more details and access to the repository, visit: https://github.com/el7cosmos/pasir


