You are viewing revision #1 of this wiki article.
This version may not be up to date with the latest version.
You may want to view the differences to the latest version.
Some PHP installations may use a different
php.ini file for CLI PHP (command line PHP parser). As a result, when running the
crud command in
yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.
To solve this problem, please double check your CLI PHP configuration. You may also use the following command to make sure your CLI PHP is using the specified
php -c path/to/php.ini protected/yiic.php shell