Hi everyone in the Caddy community. I met a wonderful project!
I changed my Windows 10 web server to Caddy. It was v2 and needed to use PHP.
I keep configuration files and shortcuts for those who want to do the same in the future.
I could not find such a description in the settings of “php_fastcgi”.
Please be aware of the reports available in Caddy v1+PHP on Windows.
This Caddy does little work… So I was fine with this setting.
Thank you for sharing! And welcome to the project!
FWIW I’m writing v2 Caddyfile docs yesterday, this weekend, and into next week. So the documentation site will have Caddyfile docs by the end of next week.
No. At the time of issue, I simply assumed that there was a .php file under Apache’s DocumentRoot.
Perhaps someone likes such a web server. (It’s the old way. but…)
I prefer the current specification of Caddy v2.
PHP_FCGI_CHILDREN value must be at least 2. The reason is not sure, but without it you will see lots of strange “access blocks” or “server freeze” when your traffic ramps up.