I've installed wampserver. Yet it is always as a red tray icon.
local server - None of 2 services running.Port 80 is not occupied; checked with Apache ► Service ► Test port 80:
Warning: chmod(): Permission denied in C:\wamp\scripts\config.inc.php on line 68 Impossible to modify the file C:\WINDOWS\system32\drivers\etc\hosts to be writab le The file C:\WINDOWS\system32\drivers\etc\hosts is not writable ***** Test which uses port 80 ***** ===== Tested by command netstat filtered on port 80 ===== Test for TCP Port 80 is not found associated with TCP protocol Test for TCPv6 Port 80 is not found associated with TCP protocol ===== Tested by attempting to open a socket on port 80 ===== Your port 80 is not actually used.
Apache ► Service administration ► Install Service issues in a cmd window:
pressing Enter shuts the window down, nothing happens. Waiting gives no profit either.
What's wrong?
Had attempts to change port number for Apache (both to 81 and to 8080) in httpd.conf:
Listen 0.0.0.0:8080 Listen [::0]:8080 ServerName localhost:8080
Checked whether IIS is runnig => No!
.
Doesn't help.
I had the same problem, and the solution was too simple:
"Run it as Administrator."
You can do it by right clicking on the program icon and in the menu that appears, select the option "Run as administrator".
It is also possible to automate this process, by right clicking on the program icon and selecting "Properties". Once the properties window is open, we go to the "Compatibility" tab. In the "Configuration" area we mark the option "Run this program as administrator". Then we will click on "Apply" and then on "OK". Ready! From now on, every time we run the program it will do so in administrator mode.
(Today, May 8, 2019, I see that @riggsfolly has responded in a comment much earlier than me. My recognition.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With