"Too more lines in hosts"
Posted by: v.marcus (---.ipv4.broadband.iol.cz)
Date: January 03, 2019 06:10PM


I need your help, my Wampserver is not working.
Here is a message:


There is an error.

The C:\Windows\System32\drivers\etc\hosts file
has 15666 lines
that's far too much for proper operation.
The role of the hosts file is to serve as local DNS,
i. e. to give the connections between local IPs and ServerNames.
Its purpose is absolutely not to be used for filtering unwanted urls.

Press ENTER to continue...

Could you help me, please?
Thank you very much.

Options: ReplyQuote
Re: "Too more lines in hosts"
Posted by: Otomatic (Moderator)
Date: January 03, 2019 06:22PM


You clean up your hosts file to leave only the next two lines and nothing else. localhost
::1 localhost
There may be additional lines, but only if you use VirtualHost.

Wampserver 3.1.9 32 bit - Apache 2.4.39 - PHP 7.3.6/7.2.19/7.1.30/7.0.33/5.6.40 - MySQL 5.7.26 - MariaDB 10.3.15
Wampserver 3.1.9 64 bit - Apache 2.4.39 - PHP 7.3.6/7.2.19/7.1.30/7.0.33/5.6.40 - MySQL 5.7.26/8.0.16 - MariaDB 10.3.15
PhPMyadmin - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote

Sorry, only registered users may post in this forum.