Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 664 Bytes

Readme.md

File metadata and controls

25 lines (14 loc) · 664 Bytes

Rust FastCGI Server

This is a simple FastCGI server written in Rust. It is intended to be used as a CGI server, to serve PHP webapps.

I really enjoyed writing this, and I hope you enjoy using it.

Usage

To use this server, you need to have a FastCGI server running on your machine. You can use php-fpm for this purpose.

At this version, it only works with file socket (unix:///path/to/php/socket.sock), but I plan to add TCP support in the future.

You can run the development environment with the following command:

cargo run -- --base-path /path/to/laravel/public // or any other PHP app

To build:

cargo build --release