Parse php5 configuration using pdo_PHP tutorial

WBOY
Release: 2016-07-21 15:01:15
Original
791 people have browsed it

1. Check whether php_pdo.dll exists in the php extension library (when calling MsSQL, you also need php_pdo_mssql.dll; when calling MySQL, you also need php_pdo_mysql.dll).

2. Open the php.ini configuration file and add:

Specify extension library
extension_dir="C:Program Files (x86)PHPext"

[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 pdos and corresponding extensions. OK, you can now use PDO for data connection access ~

www.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 calling MsSQL; when Calling MySQL also requires php_pdo_mysql.dll). 2. Open the php.ini configuration file and add...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!