"extension mysql is not compiled into Php" is an error i keep receiving. Throughout research I have found that the mysql.dll is no longer used in the version of xampp i have. I am using PEAR and an array $dsn. Now I do see that an pdo_mysql.dll is loaded in the ext/ but I am still not sure how to fix this error within xampp.
$dsn = array(
'phptype' => 'mysql',
'username' => "",
'hostspec' => "localhost",
'database' => "witit",
);
So this was marked for duplicate but it is not the same issue because I have removed the semi-colon to add the extension=mysql.dll and that did not solve my issue.
I don't understand why this was marked as a duplicate when it was not. The problem was that the
MDB2_Driver_Mysqldoesn't work, and theextension=php_mysql.dlldoesnt load the extension. So what I found out was I had to download theMDB2_Driver_mysqlithat worked for the xampp.