!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
28 Sep 2022
@drupol:matrix.orgPolI think it's linked to: https://github.com/php/php-src/issues/836915:17:48
@drupol:matrix.orgPol The thing is that when I do: php -r "echo file_get_contents('https://chromedriver.storage.googleapis.com/LATEST_RELEASE', false, stream_context_create());" I cannot reproduce the issue. While in a symfony app, you can reproduce it. Weird. 15:18:37
29 Sep 2022
@etu:semi.socialetu So Pol: You're asking the really good questions regarding imap and why we have it disabled, I didn't know, but it was kinda fun to find out the reason for it 😉 12:06:02
@drupol:matrix.orgPolI'm currently reading your answer. Massive.12:06:18
@drupol:matrix.orgPol
In reply to @drupol:matrix.org
The thing is that when I do: php -r "echo file_get_contents('https://chromedriver.storage.googleapis.com/LATEST_RELEASE', false, stream_context_create());" I cannot reproduce the issue. While in a symfony app, you can reproduce it. Weird.
On my side the issue was because you can only read once the body content of a request made with curl in Symfony. You need to make sure you don't read the body more than once, or else, it's empty.
12:07:06
@drupol:matrix.orgPol
In reply to @etu:semi.social
So Pol: You're asking the really good questions regarding imap and why we have it disabled, I didn't know, but it was kinda fun to find out the reason for it 😉
Thanks again for your promptness ! did you sold your kids ? :D
12:07:57
@etu:semi.socialetu
In reply to @drupol:matrix.org
Thanks again for your promptness ! did you sold your kids ? :D
Nah, but vacation is over and preschool is running so I have peace and quiet at home during daytime again... however I should spend time on work... but nix is more fun at times 😉
12:09:48
@drupol:matrix.orgPolOkay :D12:16:45
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
The thing is that when I do: php -r "echo file_get_contents('https://chromedriver.storage.googleapis.com/LATEST_RELEASE', false, stream_context_create());" I cannot reproduce the issue. While in a symfony app, you can reproduce it. Weird.
google already fixed their servers according to https://github.com/php/php-src/pull/8558#issuecomment-1177656911
17:01:54
2 Oct 2022
@drupol:matrix.orgPol etu: Job done ! https://github.com/NixOS/nixpkgs/pull/194109 props to @stephank ! 18:19:13
@drupol:matrix.orgPol * etu: Job done ! https://github.com/NixOS/nixpkgs/pull/194109 props at Stéphan ! 18:19:57
@etu:semi.socialetu
In reply to @drupol:matrix.org
etu: Job done ! https://github.com/NixOS/nixpkgs/pull/194109 props at Stéphan !
Nice, I'll look into it tomorrow. Currently in couch mode with a baby sleeping on my lap :)
18:33:49
@drupol:matrix.orgPolEnjoy these moments mate :)18:38:58
@hexa:lossy.networkhexa

there's currently two issues on the blockers list for 22.11, they are:

  • https://github.com/NixOS/nixpkgs/issues/154774
  • https://github.com/NixOS/nixpkgs/pull/157287
22:24:54
@hexa:lossy.networkhexaplease consider whether they're blockers and will be addressed, or whether they should be bumped/closed22:25:39
3 Oct 2022
@drupol:matrix.orgPolThey definitely need to be addressed.05:50:04
@drupol:matrix.orgPolPR for the first blocker: https://github.com/NixOS/nixpkgs/pull/19417206:32:30
@drupol:matrix.orgPolFeedback welcome !06:32:35
@etu:semi.socialetu Pol: Feel free to rebase your php imap PR on master so we can get the full stack building on darwin 🙂 06:40:43
@drupol:matrix.orgPolW000000t ! Will do that as soon as I step in my office... Commuting right now.06:42:52
@drupol:matrix.orgPolDo you have any idea why this is breaking on darwin? https://logs.nix.ci/?key=nixos/nixpkgs.194172&attempt_id=712981f5-3861-4053-9e06-41520615ce9707:11:09
@drupol:matrix.orgPol
       > ld: library not found for -lldap
       > clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
       > make: *** [Makefile:138: libs/libphp.bundle] Error 1
07:11:19
@drupol:matrix.orgPol And I can see that openldap is correctly fetched and included 07:11:35
@drupol:matrix.orgPol(related PR: https://github.com/NixOS/nixpkgs/pull/194172)07:11:50
@drupol:matrix.orgPol
In reply to @etu:semi.social
Pol: Feel free to rebase your php imap PR on master so we can get the full stack building on darwin 🙂
Looks like we have another issue now.
07:59:45
@etu:semi.socialetuIndeed07:59:54
@etu:semi.socialetuNow it's about the actual PHP extension08:00:06
@drupol:matrix.orgPolhttps://stackoverflow.com/questions/52314179/errors-when-installing-imap-extension-on-official-php-docker-image08:00:23
@drupol:matrix.orgPolGoing to add new flags.08:01:18
@drupol:matrix.orgPolGREEN ! :)08:09:03

Show newer messages


Back to Room ListRoom Version: 6