Skip to content
Discussion options

You must be logged in to vote

Yeah root should be the public path when just using php-server, since index.php is the default fallback, something like (haven't tried):

frankenphp php-server
--root application/public
--worker application/public/index.php,4
--listen 0.0.0.0:8000
--debug

If you need more fine-grained configuration I suggest using a https://frankenphp.dev/docs/config/#caddyfile-config and doing frankenphp run -c ./Caddyfile

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mykiwi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants