-
I have a problem when I try to install lcobucci/jwt, it returns: "Your requirements could not be resolved to an installable set of packages. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 4 replies
-
You've got to make sure the sodium extension is enabled in your installation (as it's bundled in php it's commonly enabled by default - not in your case though). https://www.php.net/manual/en/sodium.installation.php should give you some info but it's quite likely that you have a pre-compiled package for your OS. |
Beta Was this translation helpful? Give feedback.
-
I have got a similar issue trying to run "composer update" => Problem 1 |
Beta Was this translation helpful? Give feedback.
-
i have php version 8.2.4 warning: pecl/libsodium requires PHP (version >= 7.0.0, version <= 8.0.99), installed version is 8.2.4 |
Beta Was this translation helpful? Give feedback.
-
Dear Sir,
it is saying ext-sodium is missing from your system.
Problem 1
- lcobucci/jwt is locked to version 4.3.0 and an update of this package
was not requested.
- lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your
system. Install or enable PHP's sodium extension.
Problem 2
- lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your
system. Install or enable PHP's sodium extension.
- kreait/firebase-tokens 4.3.0 requires lcobucci/jwt ^4.3.0|^5.0 ->
satisfiable by lcobucci/jwt[4.3.0].
- kreait/firebase-tokens is locked to version 4.3.0 and an update of
this package was not requested.
can you please help me no this ..
Best Regards,
Janam
ktm, Nepal
…On Tue, Feb 13, 2024 at 11:39 PM Marco Pivetta ***@***.***> wrote:
Libsodium is part of PHP itself:
https://github.com/php/php-src/tree/115c60e0bbe0dbe1c0b11db7bf50cf23695f14dd/ext/sodium
—
Reply to this email directly, view it on GitHub
<#741 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX6A6SLB5HNBAVISSGMOWW3YTOSGPAVCNFSM45FBUYU2U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TQNBVG4YDGNQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Even though the Sodium extension usually is installed by default, it isn't guaranteed to be installed. The documentation states it is still a compile time directive that enables it, and it is entirely possible that YOUR PHP version does not include it by default. Verify which extensions are available: |
Beta Was this translation helpful? Give feedback.
-
Your requirements could not be resolved to an installable set of packages. Problem 1 |
Beta Was this translation helpful? Give feedback.
-
I use laragon 👍
in my php.ini i just activate it
Any help ! please! |
Beta Was this translation helpful? Give feedback.
You've got to make sure the sodium extension is enabled in your installation (as it's bundled in php it's commonly enabled by default - not in your case though).
https://www.php.net/manual/en/sodium.installation.php should give you some info but it's quite likely that you have a pre-compiled package for your OS.