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 Reply To: Fatal error: Uncaught Error: Call to undefined function mysql_connect()

Discussion in 'Misc WordPress Requests' started by Lawrence Eagles, Nov 16, 2017.

  1. Lawrence Eagles

    Guest

    Reply To: Fatal error: Uncaught Error: Call to undefined function mysql_connect(), by Lawrence Eagles

    This is barely a problem caused by plugin or themes as I have noticed many off the shelf solution to be. The error you are getting means you do not have the mysqli extension.
    What I simply had to do was to edit the php.ini file.

    /etc/php/php.ini (although I don’t know what OS you are running simple find yours)

    look for these two files:
    extension=pdo_mysql.so
    extension=mysqli.so

    and uncomment them.
    Voila that would get the job done anytime.
    This problem is often encountered when you use php 7.

    Reply To: Fatal error: Uncaught Error: Call to undefined function mysql_connect()
     
    #1

Share This Page

Web Hosting