我收到致命错误:在Magento2中找不到类'IntlDateFormatter'


Answers:


20

只需在php.ini文件中此行之前清除注释即可:

;extension=php_intl.dll

extension=php_intl.dll

在我的/etc/opt/remi/php70/php.ini' not has ; extension = php_intl.dll . I install php7 in / opt / remi / php70`中。有什么建议吗?
xanka '17

再次使用附加参数(--enable-intl)重新编译
Mehdi


0

sudo apt-get install php7.0-intl 在Ubuntu 18.04上为我完成了窍门。

(该PPA存储库包含PHP的反向端口sudo add-apt-repository ppa:ondrej/php。)

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.