How to handle Chinese garbled Characters During wordpress Installation
How to handle Chinese garbled Characters During wordpress Installation
This article mainly introduces how to handle Chinese garbled Characters During wordpress installation. It is a wonderful event in my project. After some research, I finally solved the problem. Here I will record it and share it with you, if you have any need, refer.
When you install wordpress, follow the steps in readme.html to install it. However, a line of garbled code appears when you access wp-admin/install. php:
Copy the Code as follows:
Please refer to the following link for more information:
From this line of Garbled text, we can see PHP and MySql. We can guess that it is a MySql connection error. After carefully checking the Connection database parameters in the wp-config.php, it is found that the error is not a parameter, it must be the connection method has a problem.
I used to use mysqli. dll to connect to the database, it is possible that wordpress uses mysql instead of mysqli. dll, so I tried to find mysql in the ext file of php. dll, copy it to the php root directory, and then modify php. ini, uncomment extension = php_mysql.dll, restart apache, and OK.
The above is all the content in this article. I hope you will like it and it will be helpful for you to use WordPress.