[Forum] Performance test environment: XAMPP1.8 + PHPwind9.0

1. Installation preparation

1.1 Software version

XAMPP version: XAMPP 1.8.2
phpwind version: PHPWind 9.0
 

1.2. Installation environment

My environment: win10
In fact, the installation environment has little impact, and both win7 and win10 can be run, and the installation steps are universal.
 

1.3. Download address

a. Search and download online by yourself, pay attention to the downloaded version.
b. Contact me to get the download address
 

2. Installation steps

2.1. Install XAPMM1.8

1. XAMPP is installed by default. You can modify the installation path. I installed it on the D drive and changed its name.
2. After successful installation, enter the installation directory and click " " xampp-control.exe "to open the control panel
 
3. Start Apache and MySql, and click the Start button. Generally, an error will be reported for the first start. The error screenshot is as follows. Because by default, Apache HTTP server will occupy port 80, and HTTPS service will defeat port 443, so the best solution is to modify the port.
error code
[Apache]     Error: Apache shutdown unexpectedly.
[Apache]     This may be due to a blocked port, missing dependencies, 
[Apache]     improper privileges, a crash, or a shutdown by another method.
[Apache]     Press the Logs button to view error logs and check
[Apache]     the Windows Event Viewer for more clues
[Apache]     If you need more help, copy and post this
[Apache]     entire log window on the forums
4. Modify the port, click the [config] button on the program interface , click [server and por setting] in the new window, enter the corresponding corresponding port in the setting window, you need to remember that normally port 80 and port 443 can be together Modify, determine the port number by yourself, without conflicting with the existing port of the system.
 
Click Apache (httpd.conf) to open the configuration file, directly use the search function to find the configuration of port 80, and modify the port to 8081 (the number set in the previous step) 
Click Apache (httpd-ssl.conf) to open the configuration file, directly use the search function to find the configuration of port 443, and modify the port to 4433 (the number set in the previous step)
 
5. Restart XAMPP, you can see that the port being used is the port set in the previous step.
6. Check whether the installation is successful, click "Apache-admin" to enter the default home page.
You can also open the URL directly : http: // localhost: port / (this port is the port number configured in httpd.conf)
 
 
 
 

2.2 Install PHPWind 9.0

1. Download the installation package of PHPWind and unzip it locally. Rename the upload directory to phpwind9.0 and move it to htdocs in the XAMPP directory
Note: The first time you enter htdocs, there will be the following directory files, which can be deleted directly.
After deletion, entering the default home page again will prompt that no items were found and no impact.
2. The browser accesses http: / localhost: port / file name, the port is the port set in step 2.1.4, and the file name is the file name set in 2.2.1
The address I set: http: // localhost: 8088 / phpwind9.0
3. Click "Accept" to enter the environmental detection page, and click "Next". Generally speaking, there will be no problems in the environment, and they are all green.
4. Create data, note here: the database password is empty by default, the database name can be filled in by yourself.
The filled database name will create the database under XMAPP's own database.
Note: Enter the database through "MySQL-admin", you can see the newly created database phpwin9.0
 
 
5. After filling in, click "Create Data". Click here only once, sometimes the response may be slow, thinking that there is no point, in fact, the request has been sent. If there are more points, an error will be reported and more data will be written. The solution is to delete it and re-establish it.
 
6. During installation, wait 1 minute
 
7. The installation is complete
 
Homepage address: http: // localhost: 8088 / phpwind9.0 /    , the user account is self-registered. The system has a default user, that is, the information of the founder when creating the data, which can be directly logged in.
 
Background login address: http: // localhost: 8088 / phpwind9.0 / admin.php , founder information login.
 

3. Other issues

1. Version issues

The first thing I installed was not XAMPP1.8 + PHPwind9.0, but XAMPP7.4 + PHPwind9.0. 7.4 is the latest version.
This is why there are 2 versions on my computer, and some of the installation screenshots above are mixed.
When installing PHPwind9.0 in XAMPP7.4 environment, it will be directly stuck in creating data page, nothing happens, but the database can be created successfully.

2. Download the source code

Those who need to download the forum source code can go to these websites to download
Webmaster's House: http://down.chinaz.com/
 
Source code house: https://www.mycodes.net/
 
During the installation process, I downloaded the "Swordfish Forum", which is similar to PHPwind. I have also downloaded the source code of some malls and put it on XAMPP to run, but it can't run. If there are other types of PHP websites that can run successfully later, I will share them.
 
Code word is not easy, just like it!

  

 

Guess you like

Origin www.cnblogs.com/testerhua/p/12662695.html