yum install -y php-cli libsodium libsodium-devel pecl install libsodium vi /etc/php.ini add extension = sodium.so php -i | grep sodium systemctl restart php-fpm systemctl restart httpd