I install the procedure to install Apache PHP MySQL in my WinXP system, and then test the
Phpinfo, and myl can be used
And then hotdocs a new. php file in the inside of the
for ($i =1; $i <=5; $i + +) {
echo "nihao~~~"
}
?> (the code here is Utf-8)
Should theoretically output 5 Nihao, but the browser shows blank, I view the source file, the result becomes
That is, the code changes, so it doesn't show
My question is: Is it a php.ini problem or does the MySQL installation have no option to encode the problem? How to solve it?
I'm using Apache is 2.2.17 PHP is 5.3.5 MySQL is the latest 5.6
I'll start by uninstalling MySQL and then reinstalling it.
But I do not understand the problem in which link, is PHP, or mysql!
Reply to discussion (solution)
Obviously your PHP is not configured correctly
This has nothing to do with MySQL, because you don't use it at all.
Obviously your PHP is not configured correctly
This has nothing to do with MySQL, because you don't use it at all.
Thanks, because now is just learning, if the code does not run, I can not learn
Extension=php_bz2.dll
Extension=php_gd2.dll
Extension=php_mysql.dll
Extension=php_mysqli.dll
Default_charset = "Utf-8"
These are all enabled, I really do not know where the problem is ...
Obviously your PHP is not configured correctly
This has nothing to do with MySQL, because you don't use it at all.
Thank you, re-copied PHP, reset the next, sure enough to solve the problem
Seems to be changed php.ini when the wrong file ... 3q