PHP enables the PDO and PDO_MySQL extensions. The PDO extension method for PHP to enable the PDO and PDO_MySQL extensions defines a lightweight and consistent interface for PHP to access the database. It provides a data access abstraction layer. in this way, whether using PHP to enable PDO and PDO_MySQL extensions
The PDO extension defines a lightweight and consistent interface for PHP to access the database. It provides a data access abstraction layer so that no matter what database is used, you can use consistent functions to query and obtain data.
In some PHP management systems, you need to enable the PDO and PDO_MySQL Extensions. the method is simple:
1. find the php. ini file.
2. search extension = php_pdo.dll and extension = php_pdo_mysql.dll, and remove the comment.
The configuration of the two rows is as follows:
Extension = php_pdo.dll
Extension = php_pdo_mysql.dll
After you restart apache or iis, check whether it is enabled in the phpinfo function.
The PDO extension defines a lightweight and consistent interface for PHP to access the database. It provides a data access abstraction layer...