-
Notifications
You must be signed in to change notification settings - Fork 293
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
Octane with FrankenPHP doesn't start when xdebug installed #829
Comments
Will let @dunglas reply here |
Unfortunately XDebug isn't supported by static-php-cli (that we use to create the static build of FrankenPHP): https://static-php.dev/en/guide/extension-notes.html#xdebug You'll have to switch to the Docker image of FrankenPHP (or compile it locally) to use XDebug. |
Thanks @dunglas. Should we add a note about that in the Octane docs maybe? |
@driesvints Yes! I'll document how to use the Docker version and how to add custom extensions. |
@dunglas I'm probably misunderstanding, but isn't that what I'm doing here |
@philbates35 Indeed, sorry I read too fast. I'll take a look when I'll be back from vacation! |
Thanks @dunglas, think it's worth reopening the issue until you've had a look? |
Yes please. It could even be better to open it on FrankenPHP's own repo! |
Octane Version
2.3.1
Laravel Version
10.42.0
PHP Version
8.3
What server type are you using?
FrankenPHP
Server Version
1.0
Database Driver & Version
No response
Description
Octane is immediately being killed when using the FrankenPHP Docker image with xdebug installed. When xdebug isn't installed, everything works fine.
Probably one for @dunglas.
Steps To Reproduce
After cloning this repo (which is basically just a fresh Laravel app) and
cp .env.example .env
, make the following simple change toDockerfile
:Then on the terminal run:
When we don't install xdebug in the Dockerfile though (as is the case on the linked repo), Octane runs indefinitely as expected.
There's nothing in
laravel.log
so I don't even know where to start debugging this, let me know what you need and I'll be more than happy to help!The text was updated successfully, but these errors were encountered: