Installing Yii2.0 from an Archive File
Download the archive file from yiiframework.com
Unpack the downloaded file to a Web accessible folder.
Getting Started
Download the archive file from yiiframework.com
Unpack the downloaded file to a Web accessible folder.
Getting Started
- After installation of application, you have to follow these steps to initialize the installed application. You only need to do these once for all.
type the following code in your command prompt to inititalise
phpc:/wamp/www/yii2advanced/init
2. Create a new database and adjust the
components.db
configuration in C:/wamp/www/yii2advanced/common/config/main-local.php
accordingly.3. Apply migrations with console command
c:\wamp\www\yii2advanced> yii migrate
4.Set document roots of your Web server:
- for frontend
/path/to/yii-application/frontend/web/
[ In my casehttp://localhost/yii2advanced/frontend/web/index.php"
- for backend
/path/to/yii-application/backend/web/
[ In my casehttp://localhost/yii2advanced/backend/web/
]
yii2 advanced installation in xampp
No comments:
Post a Comment