PDO is an acronym for PHP Data Objects. PDO is a lean, consistent way to access databases. This means developers can write portable code much easier. PDO is not an abstraction layer like PearDB.
It defines lightweight, consistent interface for accessing databases in PHP.
To enable PHP Data Objects (PDO) you need to enable pdo extension in php.ini file, the below is the process.
For Unix
In php.ini file
add the below line
Note: This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.
For Windows
It defines lightweight, consistent interface for accessing databases in PHP.
To enable PHP Data Objects (PDO) you need to enable pdo extension in php.ini file, the below is the process.
For Unix
In php.ini file
add the below line
extension=pdo.so
so means Shared Object.
Note: This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.
For Windows
extension=php_pdo.dll 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
0 comments:
Post a Comment