![]() ![]() You can check that the extension was installed with this command: php7.2-sp -i | grep mcrypt Sudo service php7.2-fpm-sp restart Verifying mcrypt Is Installed PHP by running the following commands as root: sudo bash -c "echo extension=mcrypt.so > /etc/php7.2-sp/conf.d/mcrypt.ini" Once installed, create a configuration file for the extension and restart When you are shown the prompt libmcrypt prefix? : ![]() Sudo pecl7.2-sp install -nodeps mcrypt-snapshot To install this extension on PHP 7.2 through 7.4, run the followingĬommands as your server's root user: sudo apt-get -y install gcc make autoconf libc-dev pkg-config Installing mcrypt on PHP 7.2, 7.3, or 7.4 ServerPilot builds these PHP versions with the mcrypt extension so it You do not need to install the mcrypt extension on PHP 5, 7.0, or 7.1. Installing mcrypt on PHP 5, PHP 7.0, and PHP 7.1 New PHP code should be written to use libsodium rather than mcrypt. ServerPilot builds PHP 7.2+ with the official libsodium extension. ![]() It was removed from PHP 7.2 and moved to an unofficial PECL extensionīecause the mcrypt library is no longer maintained. The mcrypt extension is included in PHP 5.4 through PHP 7.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |