v1.0.0 Released

Embedded PHP
Web Server

VeloServe is a high-performance web server written in Rust with PHP embedded directly via FFI. No PHP-FPM. No overhead. Just speed.

10-100x Faster than CGI
~1ms PHP Latency
2.6MB Binary Size
terminal
# Build with embedded PHP (SAPI mode)
$ cargo build --release --features php-embed

# Run VeloServe
$ ./veloserve --config veloserve.toml

⚡ VeloServe v1.0.0 starting...
✓ PHP 8.3 embedded via SAPI
✓ Server listening on http://0.0.0.0:8080
✓ Ready to serve requests!

Two Ways to Run

Choose the mode that fits your needs

🔵

CGI Mode

Simple & Portable

VeloServe
spawn →
php-cgi
  • ✓ Works everywhere
  • ✓ Easy debugging
  • ✓ All PHP extensions
  • ⚠️ ~50ms latency
cargo build --release

Built for Speed

Everything you need for modern PHP applications

🦀

Written in Rust

Memory-safe, blazing fast, and reliable. Built on Tokio and Hyper for async I/O.

🐘

Embedded PHP

PHP runs inside VeloServe via FFI. No process spawning, no IPC overhead.

📦

WordPress Ready

Full WordPress and Magento 2 support with intelligent caching rules.

Multi-Layer Cache

Page cache, object cache, and static asset cache with automatic invalidation.

🔒

HTTP/2 & TLS

Modern protocols out of the box. HTTPS with automatic certificate handling.

☁️

Cloud Native

One-click deployment on Ona.com, GitHub Codespaces, and any container platform.

Performance That Matters

Real benchmarks, real results

Server Requests/sec Latency Memory
VeloServe (SAPI) ~10,000 ~1ms Medium
VeloServe (CGI) ~500 ~50ms Low
Nginx + PHP-FPM ~2,000 ~10ms Medium
Apache + mod_php ~1,500 ~15ms High

Get Started in Minutes

Choose your installation method

1

Install PHP Embed Library

sudo apt install php-dev libphp-embed libxml2-dev libsodium-dev
2

Clone & Build

git clone https://github.com/veloserve/veloserve.git
cd veloserve
cargo build --release --features php-embed
3

Run

./target/release/veloserve --config veloserve.toml
1

Install PHP

sudo apt install php-cgi php-mysql php-curl php-gd php-mbstring
2

Clone & Build

git clone https://github.com/veloserve/veloserve.git
cd veloserve
cargo build --release
3

Run

./target/release/veloserve --config veloserve.toml

Both options include Rust, PHP, and all dependencies pre-installed!

Ready to Serve at Light Speed?

Join developers who are shipping faster with VeloServe.