0

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in D:\xampp\htdocs\IKM\system\database\drivers\mysql\mysql_driver.php:91

function db_pconnect()
{
    if ($this->port != '')
    {
        $this->hostname .= ':'.$this->port;
    }

    return @mysql_pconnect($this->hostname, $this->username, $this->password);
}
Carl Binalla
  • 5,393
  • 5
  • 27
  • 46
Hari 1996
  • 3
  • 5

1 Answers1

1

This function has been removed as of PHP 7.0 and deprecated in PHP 5.5. Chances are you're using PHP 7.0.

To fix this, you need to use either the mysqli extension, or the PDO extension.

Enstage
  • 2,106
  • 13
  • 20