Hi, I apologize in advance for my English.
I bought the fifth edition of the Italian version of the book by Kevin Yank "Build Your Own Website Using PHP And MySQL Database".
I followed the guide in the appendix to manually install in Linux, I use Ubuntu 12.10, MySQL and PHP.
Understood to 4 explains how to connect to a database, created in advance, via PDO.
Shows the result of the following script:
$pdo = new PDO('mysql:host=localhost;dbname=ijdb', 'ijdbuser', 'mypassword');
$pdo->exec('SET NAMES "utf-8"');
catch (PDOException $e)
$output = 'Impossibile connettersi al server di database: ' .
$output = 'Connessione al database stabilita.';
I get the following error:
Impossibile connettersi al server di database: could not find driver
How can I fix?