当前位置:Gxlcms >
PHP教程 >
Fatalerror:Undefinedclassconstant'MYSQL_ATTR_USE_BUFFERED_QUERY'inD:inetpubvhostszenpty.comhttpdocsincludesdatabase,bufferedreader_PHP教程
Fatalerror:Undefinedclassconstant'MYSQL_ATTR_USE_BUFFERED_QUERY'inD:inetpubvhostszenpty.comhttpdocsincludesdatabase,bufferedreader_PHP教程
时间:2021-07-01 10:21:17
帮助过:4人阅读
Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in D:\inetpub\vhosts\zenpty.com\httpdocs\includes\database,bufferedreader
打开php.ini配置文件,找到php_pdo_mysql.dll,如果前面有分号";"则表示该行被注释掉了,将分号去掉,保存,然后重启apache服务,重新访问页面,问题解决了。
http://www.bkjia.com/PHPjc/931898.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/931898.htmlTechArticleFatal error: Undefined class constant MYSQL_ATTR_USE_BUFFERED_QUERY in D:\inetpub\vhosts\zenpty.com\httpdocs\includes\database,bufferedreader 打开php.ini配置文件,找到ph...