The most detailed installation tutorial of pikachu in the whole network

Tip: After the article is written, the table of contents can be automatically generated. How to generate it can refer to the help document on the right

Article directory

foreword

1. Installation steps of phpStudy V8 version

Two, pikachu installation


foreword

pikachu is a shooting range that contains common web security vulnerabilities, suitable for beginners.

Since the code of pikachu can be downloaded and put into the corresponding web service to run, the corresponding php environment needs to be configured before this, but it is not friendly for beginners who are just getting started, here we can use the phpstudy integrated development environment, the program The package integrates the latest PHP/MySql/Apache/Nginx/Redis/FTP, one-time installation, and can be used without configuration. It is a very convenient and easy-to-use PHP debugging environment.


1. Installation steps of phpStudy V8 version

Step 1: Download phpStudy Download : http://public.xp.cn/upgrades/phpStudy_64.zip

Step 2: Unzip, the installation path can be customized

Step 3: After the phpStudy V8 version is installed, we can see the following interface

 At this time, all configurations are red, indicating that the service is not enabled. We click Start to enable the corresponding configuration. We only need to enable the Apache and MySQL services. If Mysql is installed in the original machine, a port conflict will occur. The Mysql service cannot be started in the panel.

Solution: We press win+R on the computer at the same time, enter services.msc, click OK -> enter the service, find MySQL, right click, click stop in the options -> restart phpstudy and you will find that the mysql service starts successfully

Step 4: Check whether the environment is configured successfully

01. We first use the editor to write the test file.

02. Save this file in the root directory of the website, namely  D:/phpstudy_pro/WWW , and name it index.php .

03. Then, open the browser, enter localhost/1.php in the URL bar, and run it. The result is as follows, which means the operation is successful.


Two, pikachu installation

 1->First create a 127.0.0.1 website domain name in the phpstudy website

 2->Unzip pikachu-master.zip to D:\phpstudy_pro\WWW\127.0.0.1 directory

3-> Modify the configuration file, otherwise the D:\phpstudy_pro\WWW\pikachu\inc\conf.inc.php file cannot connect to the database

4->Search 127.0.0.1/pikachu, start pikachu journey!

 

 

Guess you like

Origin blog.csdn.net/m0_56632799/article/details/128093751