Search code examples
nginxubuntu-16.04php-7ubuntu-server

Intall MCrypt extension in nginx server with PHP 7


I got a server with Ubuntu 16.04. I've installed nginx and PHP 7 with fpm. I need to install MCrypt extension but I cannot find how to do it, I found some information for PHP 5.6 and I'm not sure if the process is the same. How can I do it?


Solution

  • You may have to download the latest version of phpmyadmin 4.6.6

    • Fixes for PHP 7.1
    • Problems with MySQL servers running with lower_case_names=2
    • Fixes for several PHP notices/warnings being shown

    they've fixed this bug

    by the way , to install mcrypt in unbutu for PHP 7:

    apt-get install php7.0-mcrypt

    which again is DEPRECATED in PHP 7.1.x

    Warning

    This extension has been deprecated as of PHP 7.1.0 and moved to PECL as of PHP 7.2.0.