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