phpStudy2017 updates the latest vhosts.ini After configuring the URL information, it will be restored when you reopen it.
<VirtualHost _default_:80>
DocumentRoot "C:\phpStudy\PHPTutorial\WWW"
<Directory "C:\phpStudy\PHPTutorial\WWW"> ;
Options -Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
That must be because after clicking the modify button, you continue to click save to generate the configuration file. Both steps are indispensable
After configuring, be sure to click Save and generate the configuration file. The server will restart
By default, it will be configured by software and according to a fixed format. If it is manually configured, the software format is incorrect and cannot be read. Please use site domain name management to configure it