将我的文件放在xampp中并运行但它显示错误:发生了PHP错误。 严重程度:8192
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /Applications/XAMPP/xamppfiles/htdocs/project_live/system/database/drivers/mysql/mysql_driver.php:91
Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/project_live/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()
#1 /Applications/XAMPP/xamppfiles/htdocs/project_live/system/database/DB.php(148): CI_DB_driver->initialize()
#2 /Applications/XAMPP/xamppfiles/htdocs/project_live/system/core/Loader.php(346): DB(Array, NULL)
#3 /Applications/XAMPP/xamppfiles/htdocs/project_live/system/core/Loader.php(1171): CI_Loader->database()
#4 /Applications/XAMPP/xamppfiles/htdocs/project_live/system/core/Loader.php(152): CI_Loader->_ci_autoloader()
#5 /Applications/XAMPP/xamppfiles/htdocs/project_live/system/core/Controller.php(51): CI_Loader->initialize()
#6 /Applications/XAMPP/xamppfiles/htdocs/project_live/application/controllers/site.php(6): CI_Controller->__construct()
#7 /Applications/XAMPP/xamppfiles/htdocs/project_live/system/core/C in /Applications/XAMPP/xamppfiles/htdocs/project_live/system/database/drivers/mysql/mysql_driver.php on line 91