Я столкнулся с следующей ошибкой, пытаясь установить Laravel/Passport. Я уже добавил endension = натрий в свой файл php.ini и попытался установить пакет с помощью команды:
composer require laravel/passport:^11.0
< /code>
Однако я все еще получаю ту же ошибку. Я также попытался установить Paragonie/SODIUM_COMPAT_EXT_SODIUM, но это не решило проблему.
Вот сообщение об ошибке:
Problem 1
- Root composer.json requires laravel/passport 12.0 -> satisfiable by laravel/passport[v12.0.0].
- laravel/passport v12.0.0 requires lcobucci/jwt ^4.3|^5.0 -> satisfiable by lcobucci/jwt[4.3.0, 5.0.0, ..., 5.5.0].
- lcobucci/jwt[4.3.0, 5.1.0, ..., 5.5.0] require ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.
Alternatively you can require one of these packages that provide the extension (or parts of it):
- paragonie/sodium_compat_ext_sodium
- juspay/expresscheckout-php-sdk Express Checkout SDK for PHP allows easy integration with Juspay's EC payments as a service platform
- vufind/vufind A flexible discovery layer.
- lcobucci/jwt 5.0.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.14) does not satisfy that requirement.
To enable extensions, verify that they are enabled in your .ini files:
- C:\wamp64\bin\php\php8.3.14\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.
< /code>
Более того, я подтвердил, что редактирую правильный файл php.ini, расположенный по адресу: < /p>
C:\wamp64\bin\php\php8.3.14\php.ini
Я также запустил php -ini , чтобы подтвердить файлы активной конфигурации. Несмотря на это, расширение натрия все еще не обнаружено. Я прикрепил свой composer.json скриншот для справки.>
Я столкнулся с следующей ошибкой, пытаясь установить Laravel/Passport. Я уже добавил endension = натрий в свой файл php.ini и попытался установить пакет с помощью команды: [code]composer require laravel/passport:^11.0 < /code> Однако я все еще получаю ту же ошибку. Я также попытался установить Paragonie/SODIUM_COMPAT_EXT_SODIUM, но это не решило проблему. Вот сообщение об ошибке: Problem 1 - Root composer.json requires laravel/passport 12.0 -> satisfiable by laravel/passport[v12.0.0]. - laravel/passport v12.0.0 requires lcobucci/jwt ^4.3|^5.0 -> satisfiable by lcobucci/jwt[4.3.0, 5.0.0, ..., 5.5.0]. - lcobucci/jwt[4.3.0, 5.1.0, ..., 5.5.0] require ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.
Alternatively you can require one of these packages that provide the extension (or parts of it): - paragonie/sodium_compat_ext_sodium - juspay/expresscheckout-php-sdk Express Checkout SDK for PHP allows easy integration with Juspay's EC payments as a service platform - vufind/vufind A flexible discovery layer.
- lcobucci/jwt 5.0.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.14) does not satisfy that requirement.
To enable extensions, verify that they are enabled in your .ini files: - C:\wamp64\bin\php\php8.3.14\php.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions. < /code> Более того, я подтвердил, что редактирую правильный файл php.ini, расположенный по адресу: < /p> C:\wamp64\bin\php\php8.3.14\php.ini [/code] Я также запустил php -ini , чтобы подтвердить файлы активной конфигурации. Несмотря на это, расширение натрия все еще не обнаружено. Я прикрепил свой composer.json скриншот для справки.>