Home >Backend Development >PHP Tutorial >php pdo_mysql not installed problem solution_PHP tutorial

php pdo_mysql not installed problem solution_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:43:211278browse

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/633187.htmlTechArticleWhen pdo_mysql is not installed, it will prompt pdo_mysql. It must be supported. Please check whether the pdo_mysql module is loaded correctly. The installation method is very simple. Below Let me take a look. Solution: 1. Modify local...
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