!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

73 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
25 Jun 2025
@neobrain:matrix.org@neobrain:matrix.org joined the room.09:19:17
4 Jul 2025
@drupol:matrix.orgPolI opened this: https://github.com/NixOS/nixpkgs/pull/42230806:19:04
@drupol:matrix.orgPolI'll see if I have some time to work on it tonight06:19:13
@drupol:matrix.orgPol Basically, the dom extension now relies on the lexbor extension, which relies on the lexbor library 06:19:36
@drupol:matrix.orgPol But, the lexbor is vendored in the PHP src now... sadly. 06:19:50
@drupol:matrix.orgPolSo I will have to check how to properly deal with that.06:20:00
@neobrain:matrix.org@neobrain:matrix.org left the room.16:49:12
6 Jul 2025
@piotrkwiecinski:matrix.orgpiotrkwiecinskiIt seems like php uses latest commits from lexbor master14:29:24
@drupol:matrix.orgPolI can't get it working yet18:53:59
@drupol:matrix.orgPolBut I haven't dedicated much time yet... 18:54:10
@drupol:matrix.orgPol I am unable to compile the lexbor extension 19:00:59
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI don't think it work the same as most other modules21:40:10
@piotrkwiecinski:matrix.orgpiotrkwiecinskiit's always on and is more like shared libs for other modules21:40:50
@piotrkwiecinski:matrix.orgpiotrkwiecinskiat least this is my initial understanding21:41:12
@piotrkwiecinski:matrix.orgpiotrkwiecinski there is also new uri extension which depends on lexbor 21:44:51
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI was able to compile dom 22:42:16
@piotrkwiecinski:matrix.orgpiotrkwiecinskibut it feels hacky22:42:28
@piotrkwiecinski:matrix.orgpiotrkwiecinskihttps://github.com/piotrkwiecinski/nixpkgs/tree/php8522:48:13
7 Jul 2025
@drupol:matrix.orgPolI tried,04:37:27
@drupol:matrix.orgPol but nix-build -A php85.extensions.lexbor result into an empty derivation. 04:37:46
@drupol:matrix.orgPolOK cherry-picked your commit, it works04:49:39
@drupol:matrix.orgPolI wouldn't say this is hacky, since what you did is already made in another extension (libxml)04:50:00
@drupol:matrix.orgPolAlmost there05:57:04
@drupol:matrix.orgPol
❯ ./result/bin/php -v

Warning: PHP Startup: Unable to load dynamic library '/nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so' (tried: /nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so (/nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so: cannot open shared object file: No such file or directory), /nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so.so (/nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/sv70hmz0knw2aj9jwbrb1jil6sg8nq5w-php-lexbor-8.5.0-alpha1/lib/php/extensions/lexbor.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.5.0alpha1 (cli) (built: Jul  1 2025 21:58:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.0alpha1, Copyright (c), by Zend Technologies


05:57:08
@drupol:matrix.orgPolFixed!06:19:37
@drupol:matrix.orgPol
❯ ./result/bin/php -v
PHP 8.5.0alpha1 (cli) (built: Jul  1 2025 21:58:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.0alpha1, Copyright (c), by Zend Technologies
06:19:40
@piotrkwiecinski:matrix.orgpiotrkwiecinskiWe also need to check https://github.com/php/php-src/tree/master/ext/uri06:22:10
@drupol:matrix.orgPolFixed06:26:01
@drupol:matrix.orgPol
❯ ./result/bin/php -v

Warning: PHP Startup: Unable to load dynamic library '/nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so' (tried: /nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so (/nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so: cannot open shared object file: No such file or directory), /nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so.so (/nix/store/cmgf6nf77laz5n50ajw153hzyg1ag9nq-php-8.5.0-alpha1/lib/php/extensions//nix/store/yibnimkjkkr5q2ijnrlcvysycqzmlvv3-php-uri-8.5.0-alpha1/lib/php/extensions/uri.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.5.0alpha1 (cli) (built: Jul  1 2025 21:58:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.0-dev, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.0alpha1, Copyright (c), by Zend Technologies

06:35:18
@drupol:matrix.orgPolIs this a new extension ?06:35:26

Show newer messages


Back to Room ListRoom Version: 6