简体   繁体   中英

Laravel 5.1 : FatalErrorException in Encrypter.php line 48: Call to undefined function Illuminate\Encryption\mb_strlen()

I installed laravel 5.1 in my server. I am getting fatal error like in laravel 5.1 Call to undefined function Illuminate\\Foundation\\Bootstrap\\mb_internal_encoding() then i commented the line mb_internal_encoding('UTF-8'); in LoadConfiguration.php ..

again i am getting one more fatal error

Laravel 5.1 : FatalErrorException in Encrypter.php line 48: Call to undefined function Illuminate\Encryption\mb_strlen() 

can anybody tell me how to resolve this?

The problem is either your PHP installation lacks multibyte extension , either it has not been enabled.

If you installed PHP by yourself make sure you compile it with the --enable-mbstring option.

If you used your package manager to install PHP then check your php.ini file to enable the mbstring extension.

It may be also possible to install an extra package that contains the extension, depending on your platform

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM