Nix PHP | 76 Members | |
| A room for PHP developers running on Nix | 22 Servers |
| Sender | Message | Time |
|---|---|---|
| 18 Nov 2023 | ||
| How about submitting a PR against nixpkgs ? | 16:42:13 | |
| I need to optimize a few things, add some real world tests and I will submit it :) | 16:54:45 | |
| excellent ! | 17:22:55 | |
| 19 Nov 2023 | ||
| 03:35:28 | ||
| 11:02:40 | ||
| 20:38:45 | ||
| 20 Nov 2023 | ||
| Does it make sense that we use libphp.so with Frankenphp. So compile Frankenphp once and pass the libphp.so from that one needed php version 🤔. https://github.com/symfony-cli/symfony-cli/pull/216#issuecomment-1819813655 | 21:43:35 | |
| Good question, I have no clue :S | 21:46:30 | |
| depends on whether different PHP versions promise stable ABI. I would not bet on it. | 22:19:32 | |
| (or if the consumer loads the symbols dynamically) | 22:20:19 | |
| 21 Nov 2023 | ||
| Honestly I am not quite fan of the embedded thing that Kevin is trying to do with FrankenPHP, I don't think it is the responsibility of FrankenPHP to embed it, nor Apache and Nginx. It also adds a lot of compilation / cross compilation complexity , so maybe it is right way or a least a not so bad alternative. | 06:55:54 | |
| * Honestly I am not quite fan of the embedded thing that Kevin is trying to do with FrankenPHP, I don't think it is the responsibility of FrankenPHP to embed it, nor Apache and Nginx. It also adds a lot of compilation / cross compilation complexity, so maybe it is right way or a least at not so bad alternative. | 07:00:10 | |
| * Honestly I am not quite fan of the embedded thing that Kevin is trying to do with FrankenPHP, I don't think it is the responsibility of FrankenPHP to embed it, nor Apache and Nginx. It also adds a lot of compilation / cross compilation complexity, so maybe it is right way or at least a not so bad alternative. | 07:00:25 | |
In reply to @drupol:matrix.orgHad no time to work on it. | 07:25:31 | |
| 07:37:15 | ||
| I'm currently facing an issue with registering the Here's a brief overview of my configuration: configuration.nix:
nginx-php.nix:
nix-created php.ini entries:
Despite my configuration, the Any help or insights would be greatly appreciated. Thank you in advance for your assistance! | 07:38:04 | |
| Do you have any issue in the log while loading PHP (including the redis extensions) ? | 07:42:22 | |
| 07:44:01 | ||
| This is my (working) config. Unless something changed in between versions, you can adapt it to php74:
| 07:47:26 | |
In reply to @drupol:matrix.orgNOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/nix/store/hnjkll3gvx7nm8i7vm1mc1cpa4b1p3lh-php-redis-5.3.4/lib/php/extensions/redis.so' (tried: /nix/store/hnjkll3gvx7nm8i7vm1mc1cpa4b1p3lh-php-redis-5.3.4/lib/php/extensions/redis.so (/nix/store/hnjkll3gvx7nm8i7vm1mc1cpa4b1p3lh-php-redis-5.3.4/lib/php/extensions/redis.so: undefined symbol: php_session_create_id), /nix/store/nx5jg5b1zkljhzxn6g9b6sjkj9539mhg-php-7.4.29/lib/php/extensions//nix/store/hnjkll3gvx7nm8i7vm1mc1cpa4b1p3lh-php-redis-5.3.4/lib/php/extensions/redis.so.so (/nix/store/nx5jg5b1zkljhzxn6g9b6sjkj9539mhg-php-7.4.29/lib/php/extensions//nix/store/hnjkll3gvx7nm8i7vm1mc1cpa4b1p3lh-php-redis-5.3.4/lib/php/extensions/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 | 07:50:52 | |
| 07:51:28 | |
| Weird. | 07:51:34 | |
| I would suggest to use this project: https://github.com/fossar/nix-phps | 07:51:47 | |
| It contains old versions of PHPs | 07:52:01 | |
| You might have better chance with it | 07:52:06 | |
| https://github.com/phpredis/phpredis/issues/470 According to this thread loading session.so before redis.so can resolve the issue. | 07:54:39 | |
| Oooh indeed ! | 07:55:13 | |
| I forgot about this | 07:55:19 | |
| Try and let me know | 07:55:23 | |
| Adam Stotesbury: Have you tried using my config? | 07:55:39 | |