Php prompts that it cannot be loaded or mcrypt does not find the PHP extension mbstring solution

Source: Internet
Author: User
Tags mcrypt
You cannot load the mcrypt (external link, English) extension because phpmyadmin time is configured for the customer today. Please check your PHP configuration. The PHP extension mbstring is not found, and you are now using a multi-byte character set. PhpMyAdmin without the mbstring extension cannot correctly split the string and may produce unexpected results.

Solution to failure to load mcrypt
Tip: The mcrypt (external link, English) extension cannot be loaded. check your PHP configuration.
In the php. ini file under the C: \ WINDOWS directory,
The previous ";" in "; extension = php_mcrypt.dll" is not removed
Therefore, the corresponding function cannot be used. the solution is to open the php. ini file and find it; extension = php_mcrypt.dll is changed
Extension = php_mcrypt.dll remove the previous one to make it take effect
After modifying PHP. INI, restart the computer ..

If not, the libmcrypt. dll file can be missing in the system's system32 (generally C: \ WINDOWS \ system32) directory. The solution is to find libmcrypt. dll in the php Directory, copy it to the C: \ WINDOWS \ system32 directory, and restart IIS.

Solution:
Win system:
Open c: \ windows \ php. ini
Set
; Extension = php_mbstring.dll
Change
Extension = php_mbstring.dll
Unix:
Open/etc/php. ini
Set
; Extension = php_mbstring.so
Change
Extension = php_mbstring.so
You may check phpinfo (); to confirm the location of php. ini and some features currently supported by PHP.
Possible errors in server settings and modifications.

PHP settings: some code error_reporting = E_ALL that appears regular but occasionally shows an error is replaced with error_reporting = E_ALL &~ E_NOTICE
Change display_errors to off
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.