In my php.ini file, I have enabled the following PDO’s:
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql_libmysql.dll
extension=php_pdo.dll
But for some reason, on the requirements page I still receive a warning and when I try to run my application I keep getting a CDbConnection failed to open the DB connection: could not find driver error. What might be wrong?
And Yes, I’ve tried restarting the wamp after I’ve edited the php.ini
Please note that by default Yii works out of an example sqlite db file. This does not use PDO, nor does it use MySQL. Have you changed your [font="Courier New"]protected/config/main.php[/font] to use a MySQL database? If so; can you please post the related part of the application log available in [font="Courier New"]protected/logs/[/font] regarding the database connection if it contains any more information.
Chances are your rdbms is not configured correctly in [font="Courier New"]protected/config/main.php[/font]
I’ll also note that in standard Apache installations the following extension is available: