In PHP development, we often need to deal with servers and databases. phpStudy provides a simple and easy to manage interface. The interface is simple, but there are many things to pay attention to.
Running status:
After opening the software by default, a green dot is displayed, indicating that all services are started. A red box is displayed if the service is not started.
phpStudy start and stop:
Used to manage the opening and closing of services, as well as restart, the default is startup. If you no longer need to run it, click Stop. If you modify the relevant configuration of the server, you must restart it to update the configuration.
Prompt information:
In fact, the information displays the running log of the server. Generally, it shows what has been started and what has stopped. In special cases, it will show that the port is occupied. . At this time, you need to check which processes are using this port.
Running mode:
This one is more important. Sometimes when phpStudy is installed, the service never starts, causing the program to be unusable at all. In this case, select "Non-system service" is enough. The default is: system service. Alternative: non-system services. The difference between the two is related to the "service" of the window. By default, phpStudy will create system services for Apache and mysql when installed.
As shown in the picture: You can see Apache2a and MySqLa
We can also start and shut down the two services ourselves in the window's resource manager.
The above is the detailed content of phpstudy how to run patterns. For more information, please follow other related articles on the PHP Chinese website!