Skip to content

Instantly share code, notes, and snippets.

@abubelinha
Forked from jpoehls/Caddyfile
Created December 16, 2023 12:45
Show Gist options
  • Save abubelinha/25629152f41f906bdd9f2769ae4e637e to your computer and use it in GitHub Desktop.
Save abubelinha/25629152f41f906bdd9f2769ae4e637e to your computer and use it in GitHub Desktop.
Caddyfile PHP on Windows
# http://caddyserver.com/download
http://localhost:8080 {
startup php.cmd &
fastcgi / 127.0.0.1:9123 php
}
@ECHO OFF
ECHO Starting PHP FastCGI...
C:\php\php-cgi.exe -b 127.0.0.1:9123 -c C:\php\php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment