PHP 7.1 and mcrypt

CakePHP 2.10.3

According to, if we want to use PHP 7.1, we need to install mcrypt from PECL.

I built PHP 7.1 from source using the --with-mcrypt flag. I have tested and I do have mcrypt working in PHP 7.1. I tried installing the PECL version of mcrypt like the CakePHP documentation says, but PECL tells me mcrypt is only for PHP 7.2 and it won’t install in 7.1. This makes sense since PHP 7.1 can be built with mcrypt support. Is the CakePHP documentation incorrect?

Have you considered moving on to a cakephp 3.* series?