The error Fatal error: Cannot to undefined function mb_internal_encoding () is reported when you access a php page ()
My environment is:
VirtualBox4.2.6 + Linux (RedHat) + httpd-2.4.4 + mysql-5.1.6 + php-5.4.13
Reply to discussion (solution)
Mbstring extension not enabled
Mbstring extension not enabled
How to enable it?
I searched the internet and followed suit.
In php. ini,
; MB string. internal_encoding = EUC-JP
Delete the semicolon and restart apache.
Http://php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
Modify php. ini, add extension = mbstring. so, and restart apache.
If there is no mbstring. so file, go to the Internet to search for linux to enable the php_mbstring extension and install the extension.
In php. ini,
; MB string. internal_encoding = EUC-JP
Delete the semicolon and restart apache.
Http://php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
Modify php. ini, add extension = mbstring. so, and restart apache.
If there is no mbstring. so file, go to the Internet to search for linux to enable the php_mbstring extension and install the extension.
I did it, but I still can't.
Find extension = php_mbstring.dll in php. ini, remove the semicolon, save it, and restart apache! Hope to help you!
Find extension = php_mbstring.dll in php. ini, remove the semicolon, save it, and restart apache! Hope to help you!
My environment is a linux operating system, and. dll is a file type of the windows operating system.