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);
}
最佳答案
此函数已从 PHP 7.0 起删除,并在 PHP 5.5 中弃用。您可能使用的是 PHP 7.0。
要解决此问题,您需要使用 mysqli 扩展或 PDO 扩展。
关于php - fatal error : Uncaught Error: Call to undefined function mysql_pconnect(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45603379/