Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running symfony app from static build #378

Closed
aszenz opened this issue Dec 13, 2023 · 2 comments
Closed

Error when running symfony app from static build #378

aszenz opened this issue Dec 13, 2023 · 2 comments

Comments

@aszenz
Copy link

aszenz commented Dec 13, 2023

I managed to build the app using the instructions at https://frankenphp.dev/docs/static/

when running it with sudo ./my-app php-server, i got this error:

Fatal error: Maximum call stack size of 84400 bytes reached during compilation. Try splitting expression in /tmp/frankenphp_6244750a1f25b8649db5888cd52cecb1/vendor/symfony/framework-bundle/DependencyInjection/Configuration.php on line 355

What could be going wrong here, any idea?

@dunglas
Copy link
Owner

dunglas commented Dec 13, 2023

Have you warmed the cache before embedding the app?

@aszenz
Copy link
Author

aszenz commented Dec 13, 2023

Thanks I followed this document now:
https://frankenphp.dev/docs/embed/
and was able to get it running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants