wampserver installation and use, integrated php environment

The reason for using this tool is that there is a small case that requires a php environment. I am a front-end development, and I don’t know how to use the php environment. vscode needs to point to a php.exe file to compile and execute the php file, but I haven’t done it for a long time, so I just used this! ! !

Wamp is the integrated installation environment of Windos Apache Mysql PHP, which is the server software of apache, php and mysql under the window. PHP extensions and Apache modules can be turned on/off with just a few clicks. You no longer have to modify the configuration file yourself, WAMP will do it. There is no need to ask about the installation of PHP anymore, everything is done with WAMP

Installation package link:https://download.csdn.net/download/weixin_43996999/12760465

Directly install step by step, the editor is directly installed in the root directory of D drive
Insert picture description here

Note: Chinese is not allowed in the installation path, otherwise the service will not start even if the installation is successful

After the installation is successful, double-click to start, or the installation will automatically start; — From red to orange and then to green, it means the startup is successful.
Insert picture description here

After the startup is successful, open the browser and the address bar belongs to 127.0.0.1 to see if the wamp interface can be opened, as shown below:
Insert picture description here

At this point, it means that we have successfully installed and started, then the following is to put our case code or project code into the www file of the installation directory, and the code you imported into the www file will appear in the browser directory. , Just click to start, as shown below:
Insert picture description here

Click on the project to start directly, no need to start from the local localhost
Insert picture description here

Simple to use, other functions may make the back-end clearer, I just let everyone know how to get an environment to run the back-end code if they encounter this kind of problem in the future. end

Guess you like

Origin blog.csdn.net/weixin_43996999/article/details/108201663
Recommended