I'm trying to open my first yii application just when I write localhost it gives this error :
Warning: require_once(C:\inetpub\wwwroot/../yii-1.1.21.733ac5/yii-1.1.21.733ac5/framework/yii.php): failed to open stream: No such file or directory in C:\inetpub\wwwroot\index.php on line 13
Fatal error: require_once(): Failed opening required 'C:\inetpub\wwwroot/../yii-1.1.21.733ac5/yii-1.1.21.733ac5/framework/yii.php' (include_path='.;C:\php\pear') in C:\inetpub\wwwroot\index.php on line 13
which and where the file for the yii.app I must put it ?
Here's what in the index :
<?php // change the following paths if necessary $yii=dirname(__FILE__).'C:\yii\yii-1.1.21.733ac5\yii-1.1.21.733ac5\framework\yii.php'; $config=dirname(__FILE__).'/protected/config/main.php'; // remove the following lines when in production mode defined('YII_DEBUG') or define('YII_DEBUG',true); // specify how many levels of call stack should be shown in each log message defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); require_once($yii); Yii::createWebApplication($config)->run(); ?>