Skip to content

php opcache.preload won't work because of conditional functions #181

Description

@cjprinse

I'm hitting this "bug" in php 7.4

https://bugs.php.net/bug.php?id=80815

Because of the functions in the Stub files of sodium are conditional. Preload won't work.

Fatal error: Cannot redeclare Sodium\crypto_aead_aes256gcm_is_available() (previously declared in /app/vendor/paragonie/halite/stub/Sodium.stub.php:73) in /app/vendor/paragonie/halite/stub/Sodium.stub.php on line 70

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