Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Upgrading to PHP 7.1.6 – mysql_connect error

Discussion in 'Misc WordPress Requests' started by freespirit00, Nov 1, 2017.

  1. freespirit00

    Guest

    Upgrading to PHP 7.1.6 – mysql_connect error, by freespirit00

    I just upgraded from PHP 5.6.1 to 7.1.6 and now I’m getting an error on my site (version 4.7.5): Fatal error: Uncaught Error: Call to undefined function mysql_connect() in wp-includes\wp-db.php:1570

    I’m getting this error in a staging environment, but not development environment and there shouldn’t be a difference between the two other than content.

    Research says I need to enable the mysqli extension in php.ini, but that is already enabled. What else can I try?

    Upgrading to PHP 7.1.6 – mysql_connect error
     
    #1

Share This Page

Web Hosting