【问题标题】:PHP Fatal error: Class 'IntlDateFormatter' not found inPHP 致命错误:在中找不到类“IntlDateFormatter”
【发布时间】:2018-09-04 09:20:10
【问题描述】:

我最近将我的 magento 网站从旧服务器转移到新服务器,当我打开主页时,它给了我 Internal Server Error 500。在服务器错误日志中,我可以看到以下错误:

PHP 致命错误:在第 93 行的 /home/evonengc/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php 中找不到类“IntlDateFormatter”

我该如何解决这个错误?

【问题讨论】:

标签: php magento


【解决方案1】:

转到 php.ini 并启用扩展

;extension=php_intl.dll 

extension=php_intl.dll

然后重启 Apache

【讨论】:

    猜你喜欢
    • 2011-09-08
    • 2014-06-15
    • 2015-03-20
    • 2016-05-11
    • 2013-11-03
    • 2016-09-17
    • 2016-01-29
    • 2017-07-04
    • 1970-01-01
    相关资源
    最近更新 更多