Nix PHP | 79 Members | |
| A room for PHP developers running on Nix | 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 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 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 | |