1. Prepare the environment
1. Build the environment
- win 10
- phpstudy
- pikachu
2. Download link
Win10 finds resources by itself
Pickchu drone download address:
https://github.com/zhuifengshaonianhanlu/pikachu
phpstudy integrated development environment:
2. Environment construction steps
1. phpstudy configuration
The download is the same as the normal software installation. After the installation is complete, double-click to start, as follows:
Start the WNMP service, Apache service, and MySQL service. Since the Nginx service is enabled by default, you need to disable the Nginx service to enable the MySQL service, and select OK in the pop-up window.
After starting the service, access https://127.0.0.1 through the browser, and you can see the following interface, which means success.
MySQL environment variable configuration (not necessary)
ps: In order to open mysql anywhere in cmd, configure environment variables
First open the software to copy the MySQL file installation path, remember to add "\bin" as follows:
Right click on this computer --- properties --- advanced system settings --- advanced --- environment variables
System Variables---Path---Edit
New---Paste the path you just copied--OK
Continue to confirm twice to complete the configuration of system variables
Open CMD, enter "mysql -uroot -p", and enter the root password of mysql. If it has not been modified above, it will default to root.
You can log in normally.
2. pikachu shooting range configuration
Log in to the download address of the target machine to download the ZIP package. It is recommended to use the Google Chrome browser. Edge cannot download.
After decompression, modify the file name to pikachu, and then copy it to the www directory of phpstudy
Modify the default configuration file config.inc.phjp
Add the mysql root password in it and save the configuration, as follows:
After the configuration is complete, visit https://127.0.0.1/pikachu, and you can see the following interface.
This interface is uninitialized, prompting you to initialize, click the red letter to initialize.
Select "Install/Initialize" to complete the initialization.
Finish creating.
The environment has been set up and you can start your performance.
This article is referenced from: pikachu shooting range construction (full version)_pikachu shooting range_work hard. . Blog-CSDN Blog
For learning only.