After installation, you can use your browser to access the installed Yii application with the following URL:
This URL assumes you have installed Yii in a directory named basic, directly under the Web server's document root directory, and that the Web server is running on your local machine (localhost). You may need to adjust it to your installation environment.
You should configure your PHP installation so that it meets the minimum requirements of Yii. Most importantly, you should have PHP 5.4 or above. You should also install the PDO PHP Extension and a corresponding database driver (such as pdo_mysql for MySQL databases), if your application needs a database.
http://localhost/basic/web/index.php
This URL assumes you have installed Yii in a directory named basic, directly under the Web server's document root directory, and that the Web server is running on your local machine (localhost). You may need to adjust it to your installation environment.
You should see the above "Congratulations!" page in your browser. If not, please check if your PHP installation satisfies Yii's requirements. You can check if the minimum requirements are met using one of the following approaches:
- Use a browser to access the URL http://localhost/basic/requirements.php
- Run the following commands:
cd basic
php requirements.php
You should configure your PHP installation so that it meets the minimum requirements of Yii. Most importantly, you should have PHP 5.4 or above. You should also install the PDO PHP Extension and a corresponding database driver (such as pdo_mysql for MySQL databases), if your application needs a database.

No comments:
Post a Comment