Home > Article > Backend Development > How to deal with Chinese garbled characters encountered during the WordPress installation process, wordpress Chinese_PHP tutorial
When installing wordpress, follow the steps in the readme.html inside to install, but when accessing wp -admin/install.php, a line of garbled characters appeared:
Copy the code The code is as follows: PHP PHP WordPress WordPress MySQL
From this line of garbled characters, we can see that there are PHP and MySql, and we can guess that there is an error in connecting to MySql. After carefully checking the connection database parameters in wp-config.php, I found that it was not a parameter error, so there must be something wrong with the connection method.
In the past, I was used to using mysqli.dll to connect to the database. It is possible that WordPress uses mysql.dll instead of mysqli, so I tried to find mysql.dll in the php ext file and copied it to the php root. directory, then modify php.ini, uncomment the extension=php_mysql.dll inside, and then restart apache. It's ok.
The above is the entire content of this article. I hope you will like it and it will be helpful to you in using WordPress.