Caddy Unable to start as a service on Window server 2008 R2

https://caddy.community/t/nextcloud-php-errors/3653?u=xincun
As I said in my post, this caddyfile successfully started php once and then it never started successfully.
With the help of Whitestrake, the original problem should be the folder permissions issues instead of starting PHP issues.