Skip to content

Instantly share code, notes, and snippets.

@namankumar80510
Forked from jpoehls/Caddyfile
Created April 29, 2024 04:58
Show Gist options
  • Save namankumar80510/07ed40a9586458061c21d5a50f8cd839 to your computer and use it in GitHub Desktop.
Save namankumar80510/07ed40a9586458061c21d5a50f8cd839 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