How to completely disable Mysqli

Posted by Boon on Server Fault See other posts from Server Fault or by Boon
Published on 2011-08-15T09:22:21Z Indexed on 2012/03/19 2:06 UTC
Read the original article Hit count: 754

Filed under:
|

It seems the new hacker tool refref has been launched, and apparently it abuses a bug in the mysqli extension. Now I do not use mysqli at all for my websites, so i thought the best way to fight off this refref tool was to completely disable mysqli.

enter image description here

These are the settings i have set in my php.ini. Is there a way I can disable mysqli completely with having to recompile PHP?

;extension=php_mysqli.dll

[MySQLi]
mysqli.max_persistent = -1
;mysqli.allow_local_infile = On
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off

© Server Fault or respective owner

Related posts about mysql

Related posts about php