Last active
June 5, 2023 09:27
-
-
Save fu-sen/490442e1a1b832c5623ef7c8168a3925 to your computer and use it in GitHub Desktop.
Caddy v2+php-cgi on Windows https://caddy.community/t/caddy-v2-php-cgi-on-windows/6825
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\carry\caddy.exe run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
example.net.eu.org # Replace with your operating domain | |
root * D:\example.net.eu.org # Replace with your reference directory | |
php_fastcgi 127.0.0.1:9000 | |
encode gzip | |
file_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\php\php-cgi.exe -b 127.0.0.1:9000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment