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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -