Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mapping certain extensions (e.g. .php) to FastCGI #357
Many PHP-based apps (esp. those designed for Apache + mod_php) stores
We would definitely want to do the same in H2O by using php-fpm.
relates to #346
If you are talking about using pattern-matching against URL to detect requests to PHP files, I would say that such approach is broken by design.
If you Google, you would find lengthy discussions on how to mimic extension-based mapping of php files on nginx by using directives like
I do not want to create such a configuration mess with H2O; FastCGI (or PHP) applications should be as easily configurable as it is for the Apache HTTP server; and the logical approach is to support extension-based mapping (which was how Apache was designed / is also what RFC 3875, which FastCGI is designed upon, expects).