Kévin Dunglas

Results 1072 comments of Kévin Dunglas

Looks similar to https://github.com/dunglas/symfony-docker/issues/801#issuecomment-2965452335

Could you try to follow these instructions to gather a stack trace, please? https://frankenphp.dev/docs/contributing/#debugging-segmentation-faults-with-static-builds

@SharkMachine first step would be to enable ZTS by default and do a benchmark to see if it's acceptable or not. I have the feeling that the overhead will be...

@arnaud-lb performed some ZTS vs non-ZTS benchmarks recently: https://github.com/php/php-src/pull/17838#issuecomment-2663014395 I don't know if they are publicly available. Do you think that it's reasonable to enable ZTS by default in these...

@remicollet, thanks to the adoption of FrankenPHP, [almost all extensions are now entirely compatible with ZTS](https://frankenphp.dev/docs/known-issues/#unsupported-php-extensions). That wasn't the case 1 year ago. A lot of ZTS-related issues (including timeouts,...

As a workaround, escaping special sjson chars fixes the issue: https://github.com/dunglas/vulcain/pull/104

Alternatively, we may try to link everything statically except libc, which is part of POSIX anyway and should always be available: https://stackoverflow.com/a/58565307/1352334 This seems to be called "mostly-static linking": https://docs.oracle.com/en/graalvm/jdk/17/docs/reference-manual/native-image/guides/build-static-executables/#build-a-statically-linked-or-mostly-statically-linked-native-executable

Thank you very much for working on this. I agree that it's a big limitation. Let's close this issue then?

This would help a lot FrankenPHP, I'm definitely interested!

Good idea. We could even support setting INI directives directly in the `Caddyfile`.