First log in to your cloud server, connect to your cloud server, and enter your account number and password. After logging in, copy the phpstudy installation package on your computer, and then paste it on your cloud desktop. Then the next step is to install phpstudy, just follow next. After installation, start phpstudy. As shown in the picture:
# If the port is not occupied at this time, there is no need to change anything. If it is occupied, you can modify your port in phpstudy. At this time, if you browse locally on the cloud server, the address is localhost (127.0.0.1 is also acceptable), you will see the following, which proves that your installation is successful. (php video tutorial)
Configure the server, and then browse locally on your computer (leaving the server). At this time, you may have a connection error. When you return to the server, you should first find the control panel in the server and then turn off the firewall. Then exit. Enter the Alibaba Cloud official website from your computer and find your server, as shown in the picture:
Find more options on the far right and click on it to appear:
Find the security configuration group and click in:
Find the configuration rule and click in:
Click to add security group rules, and the following page will appear:
Just fill in these two fields in the picture, and the others The default is fine.
This is the inbound direction, and the same is true for the outbound direction. Both must be filled in, and just restart the server.
At this time, when phpstudy is turned on, you can access phpstudy from the external network. If it is port 80, just enter the public IP address in the browser.
The above is the detailed content of How to install phpstudy on Alibaba Cloud. For more information, please follow other related articles on the PHP Chinese website!