| 24 Jun 2023 |
| @etu:failar.nu changed their profile picture. | 13:19:44 |
| 25 Jun 2023 |
tgerbet | Looking at the stack traces the issue is caused when PHP do the clean up at the end of a request (it's the php_request_shutdown you see the stack trace) and more specifically when it deals with the sessions (php_rshutdown_session_globals).
nixosTests.php83.httpd and nixosTests.php83.pcre succeeds if you remove session from the list of enabled extensions | 11:09:18 |
tgerbet | I do not think this is on us, I'm trying to bisect | 11:41:15 |
tgerbet | Created https://github.com/php/php-src/issues/11529 | 13:18:59 |
Pol | thanks for creating it and debugging it | 17:53:43 |
| 26 Jun 2023 |
Pol | tgerbet: Ping | 11:53:11 |
Pol | I updated the PR with the patch, but the tests are still failing locally and on Github. | 11:53:28 |
Pol | I don't know if I applied the patch correctly though. | 11:53:37 |
Pol | => https://github.com/NixOS/nixpkgs/pull/239151 | 11:53:44 |
Pol | tgerbet: Do you think the patch is applied at the right place? | 12:23:12 |
Pol | I believe I should move it to the session extension. Trying. | 14:48:33 |
Pol | Tests are passing now :) | 15:04:52 |
Pol | PHP 8.3 is now ready, tests are passing ! https://github.com/NixOS/nixpkgs/pull/239151 | 15:11:22 |
Pol | For some reason, they are still broken. dammit. | 15:42:36 |
Pol | They passed at some point, now they don't anymore. | 15:42:49 |
Pol | It's working again... boooh | 17:05:02 |
Pol | I'll merge this PR once everything is ok: https://github.com/NixOS/nixpkgs/pull/239151 | 17:05:23 |
Pol | php 8.3.0 is now in Nix ! | 19:04:41 |
Pol | Thanks to all the people who helped me in there :) | 19:04:55 |
| 28 Jun 2023 |
Gaël Reyrol | If anyone is interested I published a PR to add a prometheus exporter that monitors PHP-FPM processes : https://github.com/NixOS/nixpkgs/pull/240394 | 19:17:09 |
| 29 Jun 2023 |
Pol | Hey, got a question with Nix and PHP. | 06:35:38 |
Pol | How can I get the list of extension enabled in a PHP derivation ? | 06:35:49 |
Pol | so, if I have php81, how to get the list (string) of all the extension enabled in that derivation ? | 06:36:08 |
Pol | When I do php81.extensions, I get a list of ALL the extension available, not the one that are enabled only. | 06:36:49 |
Pol | I just want those that are enabled only. | 06:36:58 |
Pol | Opened the issue at https://github.com/fossar/nix-phps/issues/245 | 06:54:42 |
Gaël Reyrol | From what I understand in the pkgs/development/interpreters/php/generic.nix, php81.extensions does provide the enabled extensions. | 07:00:03 |
Pol | yes, indeed... | 07:08:12 |
Pol | I think the issue is in fossar/nix-phps | 07:08:18 |
Pol | https://github.com/fossar/nix-phps/pull/246 | 07:14:33 |