PHP hints cannot load or mcrypt not find PHP extensions mbstring solution _php Tips

Source: Internet
Author: User

PHP extension mbstring not found, and you now seem to be using multibyte character sets. phpMyAdmin that do not have mbstring extensions do not correctly segment strings, which can produce unexpected results.

Unable to load MCrypt solution
Tip: Unable to load mcrypt (external chain, English) extensions, please check your PHP configuration.
In the php.ini file in the C:\WINDOWS directory,
There is no "; Extension=php_mcrypt.dll" in front of ";" Remove
Therefore can not use the corresponding function, the solution is to open php.ini file, find; extension=php_mcrypt.dll
Extension=php_mcrypt.dll remove the front; make it effective.
Restart your computer after you finish modifying php.ini ...

If not, the Libmcrypt.dll file can be missing from the system's System32 (typically C:\WINDOWS\system32) directory. The workaround is to locate the Libmcrypt.dll in the PHP directory, copy it to the C:\WINDOWS\system32 directory, and then restart IIS.

Unable to load mbstring workaround:
Win System:
Open C:\windows\php.ini
Put
; Extension=php_mbstring.dll
Change into
Extension=php_mbstring.dll
Unix:
Open/etc/php.ini
Put
; extension=php_mbstring.so
Change into
Extension=php_mbstring.so
You may be able to verify the location of php.ini and some of the features currently supported by PHP by looking at Phpinfo ().
Errors that may occur with the server settings, and modifications.

PHP Settings: Shielding some although formal but there will be accidental suddenly display error code error_reporting = E_all changed to error_reporting = E_all & ~e_notice
Modify Display_errors value is off

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.