Fatal error: Class 'NumberFormatter' not found

前端 未结 15 902
误落风尘
误落风尘 2020-12-28 13:08

I\'ve been using this exact same code for ages, and I have never had a single problem. Now all of a sudden it has stopped working.

I have read across the internet ab

15条回答
  •  轮回少年
    2020-12-28 13:42

    Solutions For ALL Windows and Mac.

    Most of time this extension is not there, You just need to enable this extension in php.ini by uncommenting this line,

              extension=intl
    

    if that line doesn't exists then add that line as like below in any place below first line,

             extension=intl
             extension=ext/php_intl.dll
    

    for better result add below as like as well because with above one is in some scenario not working with only below one,

             extension=php_intl.dll
    

    Then it look like this,

             extension=ext/php_intl.dll
             extension=php_intl.dll
             extension=intl
    

    After That Mostly Don't Forgot to restart your server in my case I am using xampp otherwise the changes not working properly.

提交回复
热议问题