我正在将Drupal站点迁移到本地环境。当前刷新浏览器时出现以下错误:
致命错误:未定义的类常量“MYSQL_ATTR_USE_BUFFERED_QUERY”
我读过,这可能是pdo_mysql扩展的问题。然而,我的似乎已安装并启用。还能是什么?
以下是php的相关摘录。ini文件:
extension_dir = C:/Program Files (x86)/Ampps/php/ext
extension=php_sqlsrv_55_ts.dll
extension=php_pdo_sqlsrv_55_ts.dll
extension=php_bz2.dll
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_mysqli.dl
extension=php_mssql.dll
extension=php_openssl.dll
extension=php_pdo_mysql.dll
extension=php_pdo_odbc.dll
extension=php_pdo_sqlite.dll
extension=php_soap.dll
extension=php_sqlite3.dll
extension=php_xmlrpc.dll
extension=php_com_dotnet.dll
extension=php_mongo.dll