Resolved itself, just had to reboot. Works fine now. Thanks anyway :) ---------------------------------------- > From: cristiano_di_buduo@xxxxxxxxxxx > To: phpster@xxxxxxxxx > Subject: RE: Connecting to MySQL > Date: Fri, 14 Jan 2011 21:58:33 +0100 > > > It outputs: > > PDO > PDO support enabled > PDO drivers mysql, odbc, sqlite > > > ---------------------------------------- > > From: phpster@xxxxxxxxx > > Date: Fri, 14 Jan 2011 15:52:55 -0500 > > To: cristiano_di_buduo@xxxxxxxxxxx > > CC: php-db@xxxxxxxxxxxxx > > Subject: Re: Connecting to MySQL > > > > On Fri, Jan 14, 2011 at 2:15 PM, Cristiano Di Buduo > > wrote: > > > > > > I just downloaded both PHP and MySQL, both newest stable versions, both are working well, but when i try{} to : > > > > > > $dbh = new PDO('mysql:host=localhost;dbname=test', "user", "passwd"); > > > > > > i catch{} a "could not find driver" error. > > > > > > Any help with this? > > > > > > I think the proper modules were set up in the php.ini by default. > > > -- > > > PHP Database Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > Check the php.ini or run to see if the PDO is enabled > > > > -- > > > > Bastien > > > > Cat, the other other white meat > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php