Parse php5 configuration using pdo. 1. check whether php_pdo.dll exists in the php Extension Library (php_pdo_mssql.dll is also required when MsSQL is called; php_pdo_mysql.dll is also required when MySQL is called ). 2. open php. ini configuration file, add 1. check whether php_pdo.dll exists in the php Extension Library (php_pdo_mssql.dll is also required when MsSQL is called; php_pdo_mysql.dll is also required when MySQL is called ).
2. open the php. ini configuration file and add:
Specify Extension Library
Extension_dir = "C: \ Program Files (x86) \ PHP \ ext"
[PHP_PDO]
Extension = php_pdo.dll
[PHP_PDO_MYSQL]
Extension = php_pdo_mysql.dll
Or
[PHP_PDO_MSSQL]
Extension = php_pdo_mssql.dll
Open phpinfo and find that there are more pdo and corresponding extensions. OK, you can use PDO for data connection access ~
Http://www.bkjia.com/PHPjc/328015.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/328015.htmlTechArticle1. check whether php_pdo.dll exists in the php Extension Library (php_pdo_mssql.dll is also required when MsSQL is called; php_pdo_mysql.dll is also required when MySQL is called ). 2. open php. ini configuration file, add...