Created
January 30, 2023 07:59
-
-
Save ademalp/832e48fb9bbf6ad5aa71cb3b28107d72 to your computer and use it in GitHub Desktop.
php mcrypt install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src | |
rm -rf mcrypt-* | |
/usr/local/php72/bin/pecl channel-update pecl.php.net | |
/usr/local/php72/bin/pecl download mcrypt || /usr/local/php72/bin/pecl download channel://pecl.php.net/mcrypt-1.0.5 | |
tar -zxvf mcrypt-*.tgz && cd mcrypt-*/ | |
/usr/local/php72/bin/phpize | |
./configure --with-php-config=/usr/local/php72/bin/php-config | |
make && make install | |
echo "extension=mcrypt.so" >> /usr/local/php72/lib/php.conf.d/90-custom.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment