Home  >  Article  >  Backend Development  >  Configuration and usage of php5 pdo

Configuration and usage of php5 pdo

WBOY
WBOYOriginal
2016-07-25 08:54:35910browse
  1. extension_dir="C:Program Files (x86)PHPext"
  2. [PHP_PDO]
  3. extension=php_pdo.dll
  4. [PHP_PDO_MYSQL]
  5. extension=php_pdo_mysql.dll
  6. or
  7. [PHP_PDO_MSSQL]
  8. extension=php_pdo_mssql.dll
Copy the code

Open phpinfo and you will find that pdo and corresponding extensions are already there. In this way, you can use PDO for data connection access.



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