cryptography - Using libsodium in PHP 7.2 -
in php 7.2 libsodium should part of php core. entry in php.ini file required make work or maybe should work out of box?
i'm trying php version 7.2.0beta2 , functions sodium_version_string() or sodium_compare unknown. i'm using php docker box (7.2-rc-fpm)
just in case - haven't installed pecl extension because far understand shouldn't necessary.
in order extension built, library has present, long development headers.
in addition, --with-sodium option has given ./configure script before compiling php.
if don't want recompile php, can install pecl version, offers exact same api (i update pecl version first, , port changes php source code).
Comments
Post a Comment