!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

72 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
24 Jun 2023
@etu:failar.nu@etu:failar.nu changed their profile picture.13:19:44
25 Jun 2023
@tgerbet:matrix.orgtgerbet 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:matrix.orgtgerbetI do not think this is on us, I'm trying to bisect11:41:15
@tgerbet:matrix.orgtgerbetCreated https://github.com/php/php-src/issues/1152913:18:59
@drupol:matrix.orgPolthanks for creating it and debugging it17:53:43
26 Jun 2023
@drupol:matrix.orgPol tgerbet: Ping 11:53:11
@drupol:matrix.orgPolI updated the PR with the patch, but the tests are still failing locally and on Github.11:53:28
@drupol:matrix.orgPolI don't know if I applied the patch correctly though.11:53:37
@drupol:matrix.orgPol=> https://github.com/NixOS/nixpkgs/pull/23915111:53:44
@drupol:matrix.orgPol tgerbet: Do you think the patch is applied at the right place? 12:23:12
@drupol:matrix.orgPol I believe I should move it to the session extension. Trying. 14:48:33
@drupol:matrix.orgPolTests are passing now :)15:04:52
@drupol:matrix.orgPolPHP 8.3 is now ready, tests are passing ! https://github.com/NixOS/nixpkgs/pull/23915115:11:22
@drupol:matrix.orgPolFor some reason, they are still broken. dammit.15:42:36
@drupol:matrix.orgPolThey passed at some point, now they don't anymore.15:42:49
@drupol:matrix.orgPolIt's working again... boooh17:05:02
@drupol:matrix.orgPolI'll merge this PR once everything is ok: https://github.com/NixOS/nixpkgs/pull/23915117:05:23
@drupol:matrix.orgPolphp 8.3.0 is now in Nix ! 19:04:41
@drupol:matrix.orgPolThanks to all the people who helped me in there :)19:04:55
28 Jun 2023
@Zevran:matrix.orgGaël ReyrolIf anyone is interested I published a PR to add a prometheus exporter that monitors PHP-FPM processes : https://github.com/NixOS/nixpkgs/pull/24039419:17:09
29 Jun 2023
@drupol:matrix.orgPolHey, got a question with Nix and PHP.06:35:38
@drupol:matrix.orgPolHow can I get the list of extension enabled in a PHP derivation ?06:35:49
@drupol:matrix.orgPol so, if I have php81, how to get the list (string) of all the extension enabled in that derivation ? 06:36:08
@drupol:matrix.orgPol When I do php81.extensions, I get a list of ALL the extension available, not the one that are enabled only. 06:36:49
@drupol:matrix.orgPolI just want those that are enabled only.06:36:58
@drupol:matrix.orgPolOpened the issue at https://github.com/fossar/nix-phps/issues/24506:54:42
@Zevran:matrix.orgGaël Reyrol From what I understand in the pkgs/development/interpreters/php/generic.nix, php81.extensions does provide the enabled extensions. 07:00:03
@drupol:matrix.orgPolyes, indeed... 07:08:12
@drupol:matrix.orgPolI think the issue is in fossar/nix-phps07:08:18
@drupol:matrix.orgPolhttps://github.com/fossar/nix-phps/pull/24607:14:33

Show newer messages


Back to Room ListRoom Version: 6