phpstudy2018 configuration:
Open phpstudy2018, Start the server
Configure the local server Domain name
(1) Open the other selection menu
(2) Find --->Site domain name management-->Open
(3) Configure domain name
Modify domain name settings-click Add-Save
(4) Change gohosts to be consistent with the URL, such as: tp5
Fifth, in addition to the above steps, the webpage cannot be opened normally with the domain name. We still need the following steps:
(1) Open the path to the root directory of drive C: C:\Windows\System32\drivers\etc
(2) Open the hosts file
(3) Modify the URL of the corresponding domain name (hint : Multiple domain names can be added to multiple projects)
The above is the detailed content of How to configure phpstudy2018. For more information, please follow other related articles on the PHP Chinese website!