I'm using version 4.2 of the Uniform Server (PHP, MySQL, Apache - see
http://www.uniformserver.com/) on Windows XP.
I'm not sure whether the following information is relevant, but upon startup of the above environment, a "Z" shadow drive is created where Z: maps to the original path, "E:\UniServer\udrive".
I stuck with the E drive and appended my System environment Path variable per the instructions (and supplementary messages) at
http://www.yiiframew...doc/cookbook/3/ as follows:
"other path settings...;e:\uniserver\udrive\usr\local\php;e:\uniserver\udrive\www\yii\framework;"
I was able to use yiic from within my www folder to successfully create the blog tutorial application (www\yii_blog), and I know that PDO works. The yii requirements checker confirmed this. I also wrote a standalone (non YII) test program to connect to a sqlite database, and it worked fine, however, I get the same problem that was reported by another user when attempting to issue a "model User" command under the yiic shell (see below). Is there something else I should be doing or that I've missed?
Thanks in advance!
E:\UniServer\udrive\www\yii_blog\protected>yiic shell ..\index.php
Yii Interactive Tool v1.0 (based on Yii v1.0.5)
Please type 'help' for help. Type 'exit' to quit.
>> model User
PHP Fatal error: Class 'PDO' not found in E:\UniServer\udrive\www\yii\framework\db\CDbConnection.php on line 274