Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/252.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP致命错误:类';IntlDateFormatter';在中找不到_Php_Magento - Fatal编程技术网

PHP致命错误:类';IntlDateFormatter';在中找不到

PHP致命错误:类';IntlDateFormatter';在中找不到,php,magento,Php,Magento,我最近将我的magento网站从一个旧服务器转移到一个新服务器,当我打开主页时,它给了我内部服务器错误500。在服务器错误日志中,我可以看到以下错误: PHP致命错误:在第93行的/home/evonengc/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.PHP中找不到类“IntlDateFormatter” 如何解决此错误?转到php.ini并启用扩展 ;extension=php_intl

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

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


如何解决此错误?

转到php.ini并启用扩展

;extension=php_intl.dll 


然后重新启动Apache

我想冒昧地猜测一下,您还没有启用Intl扩展…可能是
extension=php_intl.dll