Yii2 Framework installation (Windows), YII2 framework
--Install the PHP environment
WAMP integrated environment, XAMMP and so on.
--Install composer
Http://pan.baidu.com/s/1i3fejjv
PS: There is a manual action item in the installation process select the directory where Php.exe is located D:\wamp\bin\php\php5.5.12\php.exe
-Download the YII2 framework
Basic version http://pan.baidu.com/s/1qWkV344
Premium version Http://pan.baidu.com/s/1i3B8ezz
Here are two templates: Yii2 's basic Application Templates and Yii2 's Advanced application template
Download and learn to press the Web development directory inside (www directory) and rename it to advance
--Open the Run window, shortcut key (windows+r), enter cmd, open the Command line window
-Enter the Advance directory
-D:
--CD D:\wamp\www\advance
PS: Press the TAB key when typing to quickly fill the whole
--composer Create-project--profer-dist yiisoft/yii2-app-advanced. /yiitest (here is the project directory name, optional)
-may require token input
-Open https://github.com/
-No account registration, direct login with account
-Point top right corner avatar, Setting
--Personal Access tokens
--Generate New Token input description (name optional), then copy
--Right click on the command Line window, paste, enter, here the token is hidden, after pasting is not displayed, directly enter the OK
-and then wait, wait, wait until the installation succeeds (the writing lock file generating autoload files is installed successfully, if failed, delete the WWW directory inside the yiitest, re-execute the line)
--Initialize Yiitest
--CD. (Return to the previous level of the directory)
--CD Yiitest (go to project directory)
--Init Selection 0 (development version), enter, input yes, carriage return, installation complete
-Open Project
-http://localhost/yiitest/frontend/web/(front desk)
--http://localhost/yiitest/backend/web/(backstage)
http://www.bkjia.com/PHPjc/1068250.html www.bkjia.com true http://www.bkjia.com/PHPjc/1068250.html techarticle YII2 Framework installation (Windows), YII2 framework-Install PHP Environment WAMP integrated environment, XAMMP, etc. --Install composer HTTP://PAN.BAIDU.COM/S/1I3FEJJV PS: There is a manual action item in the installation process ...