Caddyfile ignored by static binary? #1547
-
|
Im not sure if im somehow misunderstanding the Documentation but on this page https://frankenphp.dev/docs/config/, and an index.php file containing nothing but: results in a bind error due to port 80 requiring priveleges. Running frankenphp php-server --listen 127.0.0.1:8080 works but i dont understand why this is not taken from the Caddyfile. I even ran strace frankenphp php-server 2>&1 | grep "read" and discovered a lot of read calls but no attempt was made to read the Caddyfile in the current directory. Does someone know how this works? Is there maybe a commandline parameter i overlooked to pass in the location of the Caddyfile ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You need to use |
Beta Was this translation helpful? Give feedback.
You need to use
frankenphp runto use the Caddyfile.