CLI has encountered a problem and needs to close

Hello,

I am following the getting started guide "Creating First Yii Application".

When I try to create my first User model via yiic shell, I get the following error popup, and the shell crashes:

> C:xamppliteyii_1.0.xframeworkyiic shell


>> model User

Quote

CLI has encountered a problem and needs to close. We are sorry for the inconvenience.

I am using XAMPP Lite locally on Windows XP. Any ideas? Thanks!

This is probably caused by incorrect PHP PDO installation. You may check your logs to find out what is happening. I would suggest you make a new installation of PHP.

http://www.apachefri…hp?f=16&t=32617

The solution, the problem is that XAMPP has something wrong with its mysql library that causes a crash.

That fixed it! Thanks.