title: How to fix Uncaught Error: Call to undefined function mysql_pconnect()
body: <p>I have the following issue am trying to run a CodeIgniter project but I get the following error when I access the the project via url on the browser am serving the project with xampp:</p>
  
  <pre><code>Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in 
   C:\xampp\htdocs\TaxiCMS\system\database\drivers\mysql\mysql_driver.php:91 Stack trace: 
  #0 C:\xampp\htdocs\TaxiCMS\system\database\DB_driver.php(115): CI_DB_mysql_driver-&gt;db_pconnect() 
  #1 C:\xampp\htdocs\TaxiCMS\system\database\DB.php(148): CI_DB_driver-&gt;initialize() 
  #2 C:\xampp\htdocs\TaxiCMS\system\core\Loader.php(346): DB(Array, NULL) 
  #3 C:\xampp\htdocs\TaxiCMS\system\core\Loader.php(1171): CI_Loader-&gt;database() 
  #4 C:\xampp\htdocs\TaxiCMS\system\core\Loader.php(152): CI_Loader-&gt;_ci_autoloader() 
  #5 C:\xampp\htdocs\TaxiCMS\system\core\Controller.php(51): CI_Loader-&gt;initialize() 
  #6 C:\xampp\htdocs\TaxiCMS\application\controllers\admin.php(10): CI_Controller-&gt;__construct() 
  #7 C:\xampp\htdocs\TaxiCMS\system\core\CodeIgniter.php(308): Admin-&gt;__construct() 
  #8 C:\xampp\htdocs\TaxiCMS\index.php(202): require_once('C:\\xampp\\htdocs...') 
  #9 {main} thrown in C:\xampp\htdocs\TaxiCMS\system\database\drivers\mysql\mysql_driver.php on line 91
  </code></pre>