Fatalerror: Calltoundefinedfunction: iconv () ind: wwwPiaokouwwwrootpiaok solution

Source: Internet
Author: User
Fatalerror: Calltoundefinedfunction: iconv () ind: callback local test no problem a file is uploaded to the online test. the following problem occurs: Fatalerror: Calltoundefinedfunction: iconv () ind: wwwPiaokouwwwr Fatal error: call to undefined function: iconv () in d: \ www \ Piaokou \ wwwroot \ piaok
No problem in local testing
The following problem occurs when a file is uploaded to the Internet for testing.
Fatal error: Call to undefined function: iconv () in d: \ www \ Piaokou \ wwwroot \ piaokou \ ly_add.php on line 232


------ Solution --------------------
Iconv is built in by default and does not require additional installation. However, some configurations may be deleted due to misoperations!
In PHP. INI to see if there is: extension = php_iconv.dll line. If not, remove the semicolon! Restart APACHE.
------ Solution --------------------
If php5 is really strange, it can be imagined that only php5 on the windows platform is compiled by itself, and iconv is excluded during compilation.

LZ uploads a phpinfo file to see if iconv exists? By the way, let's take a look at the php version.
A year or two ago, some IDCs claimed that php5 was actually activated only after the customer applied for it again-that is, it was moved to a new server. if it was not applied, it was stored on the php4 server by default.
------ Solution --------------------
Check online

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.