PHP - Manual: 安装
2024-12-22
As of PHP 7.2.0 this extension is bundled with PHP. For older PHP versions this extension is available via PECL.
In order to use this extension you must compile PHP with sodium support by using the --with-sodium[=DIR] configure option.
In order to use this extension you have to add
extension=php_sodium.dll
to php.ini.
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/libsodium