When pdo_mysql is not installed, it will prompt that pdo_mysql must be supported. Please check whether the pdo_mysql module is loaded correctly. The installation method is very simple. Let me take a look.
Solution:
1. Modify the local php.ini configuration, taking the php.ini under Win as an example, find
;extension=php_pdo_mysql.dll
;extension=php_pdo.dll
Remove the preceding semicolon ";"
2. Restart the apache service.
May encounter problems
When establishing the Apache + Php + mysql + Zend environment, I encountered a problem. Using pdo_mysql.dll will report an error and IE will make an error. It turns out that just copy libmysql.dll to the apache directory.
Unzip the downloaded php-5.2-win32-VC6-x86-latest.zip and extract the libmysql.dll extension library. Copy it to the xamppapachebin and xamppphp directories to overwrite the original files. Restart apache
When using the php_pdo_mysql.dll extension library to connect to the database, I found that the IE page suddenly made an error and automatically closed
Click debug and the following information will appear
szAppVer: 2.2.11.0 szModName: php_pdo_mysql.dll
szModVer : 5.2.8.8 offset : 0000250a
--with-mm There is a problem configure: error: cannot find mm library, it can be solved by installing mm in a non-/usr environment