Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

ext-sodium PHP7.4  #536

Description

@bavade

I use a dependency that require ext-sodium: * .
But in the PHP7.4 environment compiler tell me that this library is missing from the system.

Step to reproduce:

  • require "lcobucci/jwt": "^3.4|^4.0"
  • deploy the project on a PHP7.4 standard environement
  • you get the composer error

Activity

  1. henryallsuch commented on Aug 23, 2021

    @henryallsuch

    I've been having the same issue here is what I have found: lib sodium is no longer a PECL extension, it's a compile time option so has to be enabled when php is compiled.

    lcobucci/jwt#717 (comment)

    Looks like the option has been added for 7.2 but that would not work for 7.3 or 7.4

    if [ "${SHORT_VERSION}" == "72" ]; then

    Looks like #533 they have included support for 7.4 and 8.0, though that would break 7.2 & 7.3 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions