Nix PHP | 78 Members | |
| A room for PHP developers running on Nix | 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Nov 2023 | ||
| Did you had that specific problem with a package of yours? | 14:58:00 | |
| fine :) | 14:58:05 | |
| Yep, I need to package this old garbage : https://github.com/mentionapp/Protobuf-PHP | 14:58:52 | |
| And the composer file contains a bat script in the bin : https://github.com/mentionapp/Protobuf-PHP/blob/master/composer.json#L15 | 14:59:24 | |
| I thought it could happen on other projects too | 14:59:46 | |
| Argh | 15:01:22 | |
I guess we should exclude files ending with .bat ! :) | 15:02:02 | |
| That's what I thought 😁 | 15:05:07 | |
| 18 Nov 2023 | ||
Download Screenshot from 2023-11-18 17-09-11.png | 16:09:30 | |
| If anyone is interested, I think I managed to package FrankenPHP, here is the derivation : https://github.com/gaelreyrol/nixpkgs/commit/7c0eb86b97877fa41c5c62591cdd3bb89bfd0ff3 :D | 16:09:33 | |
| OMG ! I tried last month | 16:42:02 | |
| 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 | |