Home  >  Article  >  Backend Development  >  What should I do if php pdo.dll is not found?

What should I do if php pdo.dll is not found?

藏色散人
藏色散人Original
2020-08-17 09:30:402202browse

php pdo.dll was not found because php5.4 or above has built-in PDO. The solution is to change the item corresponding to "extension=php_pdo_mssql.dll extension=php_pdo_oci.dll" in the php.ini file. Just open it.

What should I do if php pdo.dll is not found?

Recommendation: "PHP Video Tutorial"

Open PDO extension not found php_pdo.dll

Follow the tutorial to learn PDO. The way to open the PDO extension is to find extension=php_pdo.dll in php and ini and remove the comment

But I did not find php_pdo.dll in php.ini , I only found the similar extension=php_mysql.dll

So I went to Baidu and found out that PDO is already built-in in php5.4 and above. We don’t need to extend it.

We only need to add it in php.ini Just open the code corresponding to

extension=php_pdo_firebird.dll 
extension=php_pdo_informix.dll 
extension=php_pdo_mssql.dll 
extension=php_pdo_mysql.dll 
extension=php_pdo_oci.dll 
extension=php_pdo_oci8.dll 
extension=php_pdo_odbc.dll 
extension=php_pdo_pgsql.dll 
extension=php_pdo_sqlite.dll

in the file. There is no need to download the php.pdo.dll of the corresponding version of php and put it in ext.

The above is the detailed content of What should I do if php pdo.dll is not found?. For more information, please follow other related articles on the PHP Chinese website!

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