To modify port 80 of PHPstudy, you need to edit the hosts file to add the IP address and domain name of the PHPstudy website, and then restart the Apache HTTP Server service. Verify that the change was successful by visiting http://website.example.com.
How to modify port 80 of PHPstudy
Answer:
To modify port 80 of PHPstudy, you need to edit the configuration file and restart the service.
Steps:
Find the configuration file:
Edit configuration file:
127.0.0.1
.127.0. 0.1 website.example.com
##Restart the PHPstudy service:
Verify changes:
in your browser. If you can see the default page of PHPstudy, the modification has been successful.
The above is the detailed content of How to modify port 80 in phpstudy. For more information, please follow other related articles on the PHP Chinese website!