2017-01-05 00:03:26 ————————————- ——-
2017-01-05 00:03:26 Beginning of the server start procedure
2017-01-05 00:03:26 File C: \ WINDOWS \ system32 \ drivers \ etc \ hosts is not writable
2017-01-05 00:03:26 Disable the use of the HOSTS file or configure access rights
2017-01-05 00:03:26 Launch failed!
What should I do to fix it?
Answer 1, authority 100%
At least two paths:
Run from the server itself as an administrator, like regular programs:
You need to right-click on the program and select this item from the pop-up menu ……
In new versions (at least 5.2.2 for sure, maybe even earlier), you can check the Do not make changes to the HOSTS file checkbox in the OpenServer settings on the
Answer 2, authority 4%
If you check the box not to make changes to the HOSTS file, then the sites will no longer be displayed by domain, you can expand the rights, the command in cmd: attrib.exe -s -r -h -a C: \ Windows \ system32 \ drivers \ etc \ hosts
The reasons for the failure usually occur when you install some additional programs: (Avact cleanUp; Kerish Doctor …) that block changes in the hosts.
There are 2 solutions:
2) but if you want your sites to be displayed in C: \ Windows \ System32 \ drivers \ etc \ hosts
just copy its contents and re-create the file: hosts
PS. create a file: hosts at the specified path, it may not work. It needs to be created, for example, on the desktop and transferred with administrator rights! After that, all local sites will be visible in hosts