For Windows Server/Setup users you will likely need to go into your WAMP server and enable it from the panel or. etc/init.d/apache restart OR httpd service restart. Once installed, make sure to restart apache/web server.
#PHP MCRYPT EXTENSION INSTALL UBUNTU INSTALL#
Install ok: channel:///mcrypt-1.0.2Įxtension mcrypt enabled in php.ini Restart Apache/Litespeed to make the new PHP extensions active. Debian/Ubuntu: apt-get install php-mcrypt OR apt-get install php5-mcrypt. Note: the same procedure can be applied for PHP 7.3 and 7. To install this extension on PHP 7.2 through 7.4, run the following commands as your servers root user: sudo apt-get -y install gcc make autoconf libc-dev pkg-config sudo apt-get -y install libmcrypt-dev sudo pecl7.2-sp install -nodeps mcrypt-snapshot. Vote for this feature suggestion for mcrypt support out of the box. Installing mcrypt on PHP 7.2, 7.3, or 7.4. Installing '/opt/cpanel/ea-php73/root/usr/lib64/php/modules/mcrypt.so' Note: mcrypt extension was recently updated and now supports PHP 7.2 and newer. Install ok: channel:///mcrypt-1.0.1Įxtension mcrypt enabled in php.ini Build process completed successfully Installing '/opt/cpanel/ea-php72/root/usr/lib64/php/modules/mcrypt.so' Install PHP and its extension For Laravel, only need php, php mcrypt extension and some common module should be install.Run below command to install php and its module. If it installs successfully it should look something like this at the end of each step. # /opt/cpanel/ea-php73/root/usr/bin/pecl install channel:///mcrypt-1.0.2 # for version in $(ls /opt/cpanel|grep ea-php) do /opt/cpanel/$/root/usr/bin/pecl channel-update done Install Mcrypt PHP extensions via Pecl for PHP72 and PHP73 # /opt/cpanel/ea-php72/root/usr/bin/pecl install channel:///mcrypt-1.0.1
#PHP MCRYPT EXTENSION INSTALL UBUNTU UPDATE#
# yum install libmcrypt libmcrypt-devel Update all Pecl php versions. Mcrypt installation process Install epel-release repo if you do not already have it installed # yum install epel-release Install libmycrpt and libmcrypt-devel rpms needed for the PHP extensions.