Set up a test environment (focus)
1. Test Environment
Under Linux environment to build
LNMP: Linux + Nginx + Mysql + php project
Under Windows environment to build
WAMP: Windows + apache + Mysql + php project
2. Xampp installation and use
XAMPP includes Apache, MySQL, PHP, PERL, direct decompression, no complicated installation process, it is strongly recommended for beginners. So far, XAMPP total support for Windows, Linux, Mac OS X, Solaris four versions. We introduce here is the installation and use of XAMPP Windows version.
2.1 Xampp Installation
-
Xampp Double-click the installation file, the installation interface, all the way to click next, enter install apache and mysql, check the start button to turn on MySQL and Apache server
When the installation XAMPP, Apache fails to start, may be occupied by the port, the port can be modified (the red circle in the configuration file 80 and 443 all changed into dynamic ports such as 443 or 4431 or 8080 into 4433,80 8088)
Until it turns green proven successful installation
2.2 iwebshop project deployment
-
The annex iwebshop.zip decompression, the decompressed iwebshop file folder to the xampp htdocs directory under the installation path, such as C: \ xampp \ htdocs
-
127.0.0.1:8088/iwebshop enter the port number in the browser and must start apache server port number is the same, automatically jump to http://127.0.0.1:8088/iwebshop/install/index.php
-
Click the I agree, and click Next
-
Fill in the following diagram
-
Click Next, enter the installation