首页 >后端开发 >php教程 >Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in D:inetpubvhostszenpty.comhttpdocsincludesdatabase,bufferedreader_PHP教程

Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in D:inetpubvhostszenpty.comhttpdocsincludesdatabase,bufferedreader_PHP教程

WBOY
WBOY原创
2016-07-13 10:11:051234浏览

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服务,重新访问页面,问题解决了。

www.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...
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn