Hello,
I discovered Yii some days ago. I fallow "the definitive guide to Yii" but i encounter a little problem for "implementing CRUD operations" ("Creating first Yii application").
At the prompt, when i execute the sub-commands "model User" I have the fallowing message :
Fatal error : Class 'PDO' not found in ..frameworkdbCDbConnection.php on line 274
PDO extensions are enabled. (php_pdo , php_pdo_mysql). Phpinfo shows that the extensions are enabled.
I watched for the different php.ini files and extensions are enabled.
So, i tried to watch if it was the good php.ini file who was loaded when using command line and it is.
I wonder from where the problem can come. I am stuck. I search on the forum. I tried differents solutions like related to pdo troubles and but no one works.(like emulatePrepare).
Configuration : php 5.2.6 + mysql 5.0.51b
If someone can help. Thank you in advance.