FastCGI handler for Cowboy web server -
allows PHP scripts to run along side your Erlang web applications via
This is a fork of extend/cowboy_fcgi which is no longer maintained in that repo. I have updated the code to support latest Cowboy 2 stable version.
It is currently tested against stable Cowboy version 2 and PHP 7 (it should also work with PHP 5).
- erlang (19.0 or newer)
php-fpmexecutable in path
- clone this repo
This should land you on a console of a running application.
Use a web client or a browser to visit
You should see a simple response from hello.php script. Get more details in the example's README.
Docs coming soon... for now see the examples.
what is php-fpm?
PHP FPM is a FastCGI Process Manager for PHP. It is used by web servers such as Nginx and Apache to integrate with PHP.