1

I just upgraded to PHP7 and WordPress 4.8.1 and am encountering fatal errors because mysql_connect has been deprecated and mysqli_connect is not defined anywhere in the code base.

I had a version of php-mysqli.dll that I updated with a "newer" version in the php/ext folder, but neither seems to work.

What am I missing here?

Bob Jones
  • 2,049
  • 5
  • 32
  • 60
  • Possible duplicate of [How to use mysqli in WordPress](https://stackoverflow.com/questions/36092701/how-to-use-mysqli-in-wordpress) – Ed de Almeida Aug 05 '17 at 20:36
  • https://stackoverflow.com/questions/25281467/fatal-error-call-to-undefined-function-mysqli-connect Does this help at all? Perhaps a server configuration thing you might need to change. – Dan Zuzevich Aug 05 '17 at 20:37

0 Answers0