1. there is a problem with installing Wordpress on a Windows host: When I install Wordpress, the prompt is: Your PHP does not seem to have installed the MySQL extension required to run WordPress. This problem, you need to modify the Wordpress wp-settings.php file, find the following two sentences: if (! Extension_loaded ('mysql ')! File_ex
1. there is a problem with installing Wordpress on a Windows host:
When I installed Wordpress, the following message is displayed: Your PHP does not seem to have installed the MySQL extension required for running WordPress.
To solve this problem, you need to modify the Wordpress wp-settings.php file and find the following two sentences:
If (! Extension_loaded ('Mysql')&&! File_exists (WP_CONTENT_DIR. '/db. php '))
Die ('your PHP does not seem to have installed the MySQL extension required to run WordPress. ');
Comment it out so that your wordpress can be used.
2. connection to MYSQL on a Windows host:
I can't connect to the Internet, but I can't solve the problem. I found all the networks. no one will. not only do Chinese people complain, but foreign foreigners complain. At the beginning, I complained that MYSQL databases could not be connected. In fact, I have always thought that the default Windows host uses IIS7. But when I had no solution and was about to take a look at phpinfo, I found IIS6, and I was dizzy on the spot. I think the problem of connecting to MYSQL on a Windows host is saved. I immediately log on to the background, upgraded IIS6 to IIS7, and waited for one night. this morning, there was a miracle, and there was no problem with database connectivity. Therefore, there is no problem connecting to MYSQL on a Windows host.
Okay. The above two problems have been solved. I hope to help you.
The cause of the following error during wordpress installation should be the same:
"Your PHP does not seem to have installed the MySQL extension required to run WordPress ."
Final Solution:
The cause of the above error is that I used php. the INI file is placed in the window directory, so the php file I modified later. ini has never worked, and you can use a function in php to check whether it works.
Add the following statement to configure httpd. conf in apache. C:/PHP is the PHP installation directory.
LoadModule php5_module C:/PHP/php5apache2_2.dll
PHPIniDir "C:/PHP"
AddType application/x-httpd-php. php. phtml
And modify, DocumentRoot "D:/WebApp"
And
D:/WebApp indicates the WordPress installation path.
Configure php. ini in php to modify the following statements. C:/PHP is the PHP installation directory. C:/PHP/ext is the extension module directory
Extension_dir = "C:/PHP/ext"
Add extension items. remove the semicolon, as shown in figure
Extension = php_bz2.dll
; Extension = php_curl.dll
; Extension = php_dba.dll
; Extension = php_dbase.dll
Extension = php_fdf.dll
; Extension = php_gd2.dll
Extension = php_gettext.dll
; Extension = php_gmp.dll
Extension = php_ifx.dll
; Extension = php_imap.dll
Extension = php_interbase.dll
; Extension = php_ldap.dll
Extension = php_mbstring.dll
Extension = php_exif.dll