Home  >  Article  >  Backend Development  >  PHP prompt cannot be loaded or mcrypt is not found. PHP extension mbstring solution_PHP tutorial

PHP prompt cannot be loaded or mcrypt is not found. PHP extension mbstring solution_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:19:50852browse

The PHP extension mbstring was not found and you appear to be using a multibyte character set. phpMyAdmin without the mbstring extension does not split strings properly and may produce unexpected results.

Solution to mcrypt failure to load
Tips: The mcrypt (external link, English) extension cannot be loaded, please check your PHP configuration.
In the php.ini file in the C:WINDOWS directory,
the first ";" in ";extension=php_mcrypt.dll" is not removed
so the corresponding function cannot be used. The solution is to open php.ini file, find;extension=php_mcrypt.dll and change it to
extension=php_mcrypt.dll. Remove the previous; to make it effective
After modifying PHP.INI, restart the computer. .

If it still doesn’t work, the libmcrypt.dll file may be missing in the system’s system32 (usually C: WINDOWSsystem32) directory. The solution is to find libmcrypt.dll in the php directory, copy it to the C:WINDOWSsystem32 directory, and then restart IIS.

Unable to load mbstring solution:
win system :
Open c:windowsphp.ini
Change
;extension=php_mbstring.dll
to
extension=php_mbstring.dll
unix:
Open /etc/php. ini
Change
;extension=php_mbstring.so
to
extension=php_mbstring.so
You may check phpinfo(); to confirm the location of php.ini and some of the ones currently supported by PHP characteristic.
Possible errors in server settings and modifications.

PHP settings: Block some codes that are regular but may occasionally display errors. Change error_reporting = E_ALL to error_reporting = E_ALL & ~E_NOTICE
Modify display_errors value to off

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/325197.htmlTechArticleThe PHP extension mbstring was not found, and you seem to be using a multi-byte character set. phpMyAdmin without the mbstring extension does not split strings properly, possibly producing unexpected results...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn