Home  >  Article  >  Backend Development  >  How to deal with Chinese garbled characters encountered during the WordPress installation process, wordpress Chinese_PHP tutorial

How to deal with Chinese garbled characters encountered during the WordPress installation process, wordpress Chinese_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 09:56:211069browse

How to deal with Chinese garbled characters during the wordpress installation process, wordpress Chinese

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.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/987897.htmlTechArticleHow to deal with Chinese garbled characters during the WordPress installation process. When installing WordPress in Chinese, follow the readme inside .html steps to install, but when accessing wp-admin/...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn