前提
Magento 2.2.6
苹果系统
- Php7.1 或 Php7.2
main.CRITICAL:警告:在 /Users/Anant/Desktop/Anant/Projects/cheapsheds/vendor/magento/framework/Encryption 中使用未定义的常量 MCRYPT_BLOWFISH - 假定为“MCRYPT_BLOWFISH”(这将在 PHP 的未来版本中引发错误) /Encryptor.php on line 397 {"exception":"[object] (Exception(code: 0): Warning: Use of undefined constant MCRYPT_BLOWFISH - 假定为 'MCRYPT_BLOWFISH' (这将在 PHP 的未来版本中引发错误) /Users/Anant/Desktop/Anant/Projects/cheapsheds/vendor/magento/framework/Encryption/Encryptor.php 位于 /Users/Anant/Desktop/Anant/Projects/cheapsheds/vendor/magento/framework/App/ErrorHandler 的第 397 行.php:61)"} []
这是由于 php 中缺少 mcrypt 模块,你能知道我是如何使用 valet plus 安装它的吗