Nix PHP | 83 Members | |
| A room for PHP developers running on Nix | 25 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Apr 2022 | ||
That looks like it successfully built PHP, but it’s failing when running the PEAR installer. Is there a PHP binary at sapi/cli/php? If so, what do you see when you run ./sapi/cli/php -v? | 19:35:30 | |
| This is the error:
What was your full | 19:40:52 | |
| Is OpenSSL installed? If not, or if configure couldn’t find it, maybe you built PHP without the HTTPS wrapper? | 19:42:23 | |
| 28 Apr 2022 | ||
| Trying to answer your questions tonight | 16:46:25 | |
| etu: Could you review this? https://github.com/NixOS/nixpkgs/pull/170614 | 16:47:27 | |
| Download php-master.build.log | 17:08:33 | |
| ramsey: Here's the full build log ^^ | 17:08:43 | |
Regarding OpenSSL: checking for OpenSSL support... no | 17:15:39 | |
| Going to see if I can fix this. | 17:15:51 | |
| Yep. Looks like configure couldn’t find it, and it’s also not in the options provided to configure | 17:29:31 | |
| 17:41:19 | |
| I'm progressing. | 17:41:22 | |
| No I need to find how to enable "phar openssl support" | 17:41:33 | |
| Do you know what is the flag to enable this? ramsey ? | 17:52:05 | |
| Tried on Google, but couldn't find anything relevant yet. | 17:53:48 | |
In reply to @drupol:matrix.orgQuestion: Does the usage of this package actually depend on which version of PHP it's wrapped with? | 18:54:37 | |
| Jan Tojnar: I'm trying to fix this issue and I notice something. | 18:07:33 | |
| 18:08:55 | |
| The output is: | 18:08:58 | |
checking for cURL support... no | 18:09:08 | |
| How is it possible? | 18:09:14 | |
Normally, curl should be enabled since curl extension is in the list of php-master derivation. | 18:14:46 | |
Do you have the —enable-phar option? | 18:25:15 | |
| I don’t know about any options to enable openssl support with phar. I thought it was automatic | 18:27:53 | |
In reply to @etu:semi.socialI don't know, I checked but it's not in the documentation. I think you should add it as it is and focus on a refactoring and update all the packages at once. | 19:01:15 | |
| WDYT ? | 19:03:34 | |
In reply to @drupol:matrix.orgI don't agree since that would mean that it would break the configuration for people who just started using it. Just because a tool is written in PHP doesn't automatically make it valid to package it three times, once for every version of PHP we support. If it's a tool that doesn't care about PHP version it doesn't belong in php.packages, if it cares, like composer for example. It absolutely belongs there. | 21:26:51 | |
In reply to @etu:semi.socialIt does not, I just checked. Do you want me to move the package to some other places? | 19:33:22 | |
| Yes. | 21:30:24 | |
In reply to @etu:semi.socialTrue. Will make the change tomorrow morning, I'm already in bed. | 21:30:27 | |