-
I have a Laravel project I'm trying to run with FrankenPHP using a Caddyfile within the project directory. But right now it fails with (index.php has the same code franken-worker.php has just 1 line with require)
I have Laravel octane installed to get the "franken-worker.php" file and thought that I can use that to point my Caddyfile to the worker and make it run without using the octane server. Maybe this isn't supposed to work? I wanna have that kind of config because I wanna run multiple websites using FrankenPHP on the same host so using the Caddyfile would be ideal for my use case. If not im guessing i'll have to use docker instead and reverse proxy from caddy into the FrankenPHP containers. My current Caddyfile looks like this (im just testing to see if it will work on the 7999 port) I also have caddy installed so I put the admin port to something random.
Is there some better way to configure this or some way to see what "fails" when it says "consecutive failures"? There are no logs being created in Laravel so I'd assume the framework didn't even initiate. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found another discussion with a Caddyfile config that worked, including some changes to the frankenphp-worker.php Caddyfile
frankenphp-worker.php
Those configs worked for running a Laravel project using the Caddyfile |
Beta Was this translation helpful? Give feedback.
I found another discussion with a Caddyfile config that worked, including some changes to the frankenphp-worker.php
Caddyfile
frankenphp-worker.php
Those c…