Closed digitaltim-de closed 3 days ago
try escaping the \
with another \
as per https://frankenphp.dev/docs/worker/#symfony-runtime in your docker-compose.yml
APP_RUNTIME: "Runtime\\FrankenPhpSymfony\\Runtime"
Also, the environment vars in docker-compose.yml
should be colon separated not =
separated eg:
environment:
SERVER_NAME: example.com
CADDY_SERVER_EXTRA_DIRECTIVES: |
tls internal
log
FRANKENPHP_CONFIG: "worker ./public/index.php"
APP_RUNTIME: "Runtime\\FrankenPhpSymfony\\Runtime"
try escaping the
\
with another\
as per https://frankenphp.dev/docs/worker/#symfony-runtime in your docker-compose.yml
APP_RUNTIME: "Runtime\\FrankenPhpSymfony\\Runtime"
Also, the environment vars in
docker-compose.yml
should be colon separated not=
separated eg:environment: SERVER_NAME: example.com CADDY_SERVER_EXTRA_DIRECTIVES: | tls internal log FRANKENPHP_CONFIG: "worker ./public/index.php" APP_RUNTIME: "Runtime\\FrankenPhpSymfony\\Runtime"
Lol, it fixed that error. Thanks :D
What happened?
I face this error, i installed via composer runtime/frankenphp-symfony then i add under "extra" inside composer.json too:
Under environment inside docker-compose.yml i add:
And got this error:
I checked, the Vendor is existing...
What i doing wrong?
Without the environment it runs, but then it use the symfony runtime instead of frankenphp - is it then just frankenphp without worker mode?
Build Type
Docker (Debian Bookworm)
Worker Mode
Yes
Operating System
MACOS
CPU Architecture
SILICON
PHP configuration
Relevant log output
No response