HI,
You did not answer all of the questions in
READ (and answer) BEFORE YOU ASK A QUESTIONFor example, which antivirus and firewall you were using.
In almost all cases, they are the culprits; they assign prerogatives, they block access, they forbid modifications of the hosts file; in short, they annoy me prodigiously, the worst of all being AVAST(*)
You need to setup full permission in firewall/antivirus for both Web server Apache and Database server MySQL
(*)As I have already stated several times, I have classified Avast as a "Rogue" (a fake security software).
Because of his too many false positives (I recall that, one day, he deleted more than 80 programs that I had written, and without asking for any confirmation).
Due to the continual absence of responses when false positives are reported.
Because of the considerable slowdowns it causes, and the enormous resources of the machine consumed unnecessarily.
Because of his intruder reminders to buy or renew the subscription.
Because of untimely advertising signatures by default in mails and newsgroups.
I can no longer count the problems that it has caused for users: accounting that was no longer working; blocked payroll; sharing services that were untimely deactivated; software function that disappeared; database servers that were partially destroyed, and so on.
Since it causes more problems than it solves, it can be considered malware.
Translated with www.DeepL.com/Translator
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons