Error This is not implemented, as it is not possible to implement Argon2i with acceptable performance in pure-PHP
I googled out and found that it's because libsodium that is not installed. Then I tried to install it using
- Code: Select all
pecl install -f libsodium
and it doesn't work. It said that :
- Code: Select all
Warning: PHP Startup: Unable to load dynamic library 'php_libsodium.dll' (tried: /opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll (/opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll: cannot open shared object file: No such file or directory), /opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll.so (/opt/lampp/lib/php/extensions/no-debug-non-zts-20190902/php_libsodium.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading libsodium-2.0.22.tgz ...
Starting to download libsodium-2.0.22.tgz (28,531 bytes)
.........done: 28,531 bytes
4 source files, building
running: phpize
grep: /opt/lampp/include/php/main/php.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
What should else I do?
Thanks