-
-
Notifications
You must be signed in to change notification settings - Fork 873
Description
This was started in my CI 3 days ago for some reason. Locally everything works. Deployment to production works, only in CI.
runtime/frankenphp-symfony and symfony/runtime are defined in composer.json
php-1 | PHP Fatal error: Uncaught LogicException: Symfony Runtime is missing. Try running "composer require symfony/runtime". in /app/bin/console:8
php-1 | Stack trace:
php-1 | #0 {main}
php-1 | thrown in /app/bin/console on line 8
I'm also trying to add frankenphp to another existing project. After build, compose logs shows:
php-1 | Symfony �[32m7.2.7�[39m (env: �[33mdev�[39m, debug: �[33mtrue�[39m)
php-1 | PHP app ready!
php-1 | 2025/07/01 07:39:02.483 �[34mINFO�[0m maxprocs: Leaving GOMAXPROCS=16: CPU quota undefined
php-1 | 2025/07/01 07:39:02.483 �[34mINFO�[0m GOMEMLIMIT is updated {"package": "github.com/KimMachineGun/automemlimit/memlimit", "GOMEMLIMIT": 37236558643, "previous": 9223372036854775807}
php-1 | 2025/07/01 07:39:02.483 �[34mINFO�[0m using config from file {"file": "/etc/frankenphp/Caddyfile"}
php-1 | 2025/07/01 07:39:02.484 �[34mINFO�[0m adapted config to JSON {"adapter": "caddyfile"}
php-1 | 2025/07/01 07:39:02.484 �[33mWARN�[0m Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies {"adapter": "caddyfile", "file": "/etc/frankenphp/Caddyfile", "line": 2}
php-1 | 2025/07/01 07:39:02.485 �[34mINFO�[0m admin admin endpoint started {"address": "localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//127.0.0.1:2019"]}
php-1 | 2025/07/01 07:39:02.485 �[34mINFO�[0m http.auto_https server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 443}
php-1 | 2025/07/01 07:39:02.485 �[34mINFO�[0m http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
php-1 | 2025/07/01 07:39:02.485 �[33mWARN�[0m http.auto_https server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server {"server_name": "srv1", "http_port": 80}
php-1 | 2025/07/01 07:39:02.485 �[34mINFO�[0m tls.cache.maintenance started background certificate maintenance {"cache": "0xc00042e580"}
php-1 | 2025/07/01 07:39:02.486 �[33mWARN�[0m http.handlers.mercure Setting the transport_url or the MERCURE_TRANSPORT_URL environment variable is deprecated, use the "transport" directive instead
php-1 | 2025/07/01 07:39:02.486 �[33mWARN�[0m http.handlers.mercure Setting the transport_url or the MERCURE_TRANSPORT_URL environment variable is deprecated, use the "transport" directive instead
php-1 | 2025/07/01 07:39:02.664 �[31mERROR�[0m frankenphp PHP Fatal error: Uncaught Error: Class "Runtime\FrankenPhpSymfony\Runtime" not found in /app/vendor/autoload_runtime.php:16
php-1 | Stack trace:
php-1 | #0 /app/public/index.php(7): require_once()
php-1 | #1 {main}
php-1 | thrown in /app/vendor/autoload_runtime.php on line 16 {"syslog_level": "err"}
php-1 | github.com/dunglas/frankenphp.go_log
php-1 | /go/src/app/frankenphp.go:594
php-1 | _cgoexp_7f96651acbac_go_log
php-1 | _cgo_gotypes.go:1216
php-1 | runtime.cgocallbackg1
php-1 | /usr/local/go/src/runtime/cgocall.go:446
php-1 | runtime.cgocallbackg
php-1 | /usr/local/go/src/runtime/cgocall.go:350
php-1 | runtime.cgocallback
php-1 | /usr/local/go/src/runtime/asm_amd64.s:1084