Fatelerror: calltoundefinedfunctionmb_substitute_character ()

Source: Internet
Author: User
Fatelerror: calltoundefinedfunctionmb_substitute_character () if the php runtime error occurs, it is assumed that php. ini lacks the dll file, but why cannot it be found online? Please kindly advise.


Reply to discussion (solution)

Php_mbstring

Check whether your phpinfo has the mbstring extension.
Or
Get_extension_funcs ('mbstring ');
Check whether this function exists.

Check whether your phpinfo has the mbstring extension.
Or
Get_extension_funcs ('mbstring ');
Check whether this function exists.


In phpinfo's extension = php_mbstring.dll, the above sentence is mentioned; removed, and the extended mbstring is also checked.

Php_mbstring


In phpinfo's extension = php_mbstring.dll, the above sentence is mentioned; removed, and the extended mbstring is also checked.

This extension is available in the php core package. you do not need to download it any more. check whether the dll file exists in the ext directory.
What is your php environment?

In addition, make sure that the php. ini file is modified. after the modification, restart the server to make the modification take effect.

This extension is available in the php core package. you do not need to download it any more. check whether the dll file exists in the ext directory.
What is your php environment?

In addition, make sure that the php. ini file is modified. after the modification, restart the server to make the modification take effect.


Thank you for your answers! Sorry, it takes so long to return. My environment is wamp2.5 and phpdesigner8 is used as the editor. I think this problem is also a problem with the configuration file, but I modified it and restarted wamp .. The problem still exists, so I have to comment it out temporarily. Will there be some changes in the configuration file?
Now, I have a question: I opened this project with phpdesigner8, which means that if I debug and run it, I will use the php. ini file in phpdesigner.
After I configure this project with wamp, it involves the php INI file in wamp. So I changed the ini path in phpdesigner to wamp. I think it's okay?
Last .. Do I need another MySQL? Wamp only seems to have configuration, and there is no actual operation function.

The project you run in phpdesigner8?
Run it in the browser.

Wamp already contains mysql and does not need to be downloaded separately.

!!! I accidentally solved this problem. I thought I used phpdesigner to change the default php configuration file to the wamp configuration file. I did not expect that I only changed the configuration file used for syntax cheak statement analysis. I didn't notice that the debugger settings still have a php configuration file, so the function cannot be found.
There is also the one before I extension_dir = "ext"; it seems that I forgot to delete it.
Summary: 1. change the php. ini path of phpdesigner to "wamp;
2. delete the extension before php_mbstring.dll, although this step is mentioned by many people on the Internet.
3. delete extension_dir = "ext ".

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.