��װ

As of PHP 7.2.0 this extension is bundled with PHP. For older PHP versions this extension is available via PECL.

Linux Systems

In order to use this extension you must compile PHP with sodium support by using the --with-sodium[=DIR] configure option.

Windows

In order to use this extension you have to add extension=php_sodium.dll to php.ini.

Installation via PECL

��װ�� PECL ��չ��ص���Ϣ�����ֲ��б���Ϊ PECL ��չ�İ�װ�½����ҵ���������Ϣ���µķ��а汾�����ء�Դ�ļ��� ά����Ա��Ϣ�������־�ȣ����ڴ˴��� » https://pecl.php.net/package/libsodium