SLES15SP1 install php7-mcrypt module
This document (000019743) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
SUSEConnect --product sle-module-basesystem/15.1/x86_64 SUSEConnect --product PackageHub/15.1/x86_64 zypper in -y php7-devel zypper in -y gcc gcc-c++ zypper in -y re2c Two tgz packages have been uploaded to the tid attachment tar zxvf libmcrypt-2.5.8.tar.gz cd libmcrypt-2.5.8/ ./configure make && make install tar zxvf mcrypt-1.0.1.tgz cd mcrypt-1.0.1/ /usr/bin/phpize ./configure --with-php-config=/usr/bin/php-config make && make installAdd a line at the end of the /etc/php7/cli/php.ini file:
extension=mcrypt.soTo check if the correct version is running and the module has been installed run:
# php --version PHP 7.2.5 (cli) (NTS) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies # php -m|grep mc mcrypt
Cause
Status
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000019743
- Creation Date: 22-Oct-2020
- Modified Date:23-Oct-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com