Yii2 Framework installation (Windows), YII2 framework _php Tutorial

Source: Internet
Author: User

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 ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.