【发布时间】:2016-07-22 13:25:32
【问题描述】:
我正在尝试使用以下命令通过我的终端(我正在使用 osx 和 mamp)重新索引我的 Magento 索引:
php magento indexer:reindex
当我这样做时,我收到以下错误:
Could not open input file: magento
我用谷歌搜索了这个错误,它说我应该使用这个命令:
php bin/magento indexer:reindex
这会导致这个错误:
Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH'
我查了一下,谷歌说这是因为我没有在我的 php.ini 中启用 mcrypt,但我确实启用了这个:
extension=mcrypt.so
我该如何解决这个问题?
【问题讨论】:
标签: macos indexing mamp mcrypt magento2