The solution to the problem that php does not support pdo: first find and open the "php.ini" configuration file; then add the content as "extension=php_pdo.dll extension=php_pdo_mysql.dll"; finally save the configuration file.
Recommended: "PHP Video Tutorial"
Add these last in php.ini. It can support most databases to enable PDO
extension=php_pdo.dll extension=php_pdo_mysql.dll extension=php_pdo_mssql.dll extension=php_pdo_odbc.dll extension=php_pdo_oci.dll
The above is the detailed content of What should I do if php does not support pdo?. For more information, please follow other related articles on the PHP Chinese website!