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
Doesn't help.
I had the same problem, and the solution was too simple:
"Run it as Administrator."
(Today, May 8, 2019, I see that @riggsfolly has responded in a comment much earlier than me. My recognition.)
我有同样的问题,尝试更改端口等,但最后我安装旧版本(我认为2.5),它没有任何设置更改工作。
I think that IIS in install your windows
Change your port on httpd.conf
for example 81
Listen 0.0.0.0:80
Listen [::0]:80
ServerName localhost:80
to
Listen 0.0.0.0:81
Listen [::0]:81
ServerName localhost:81
and restart apache service
Open the httpd.exe in administration manually. The file is in wamp64\\bin\\apache\\apache2.4.23\\bin\\
. Then it works.
You can try this
Uninstall the wamp server
Click on the downloaded wamp file , and select Run as Administrator
Read and follow the Information Window
that will pop up after one or two steps
Complete the installation
Still ? Check out http://forum.wampserver.com/read.php?2,134915
It can happen because of one of the three reasons:-
1) Missing VC++ installation: Install All versions of VC++ redistribution packages VC9, VC10, VC11, VC13, VC14 and VC15.. If you have a 64-bit Windows, you must install both 32 and 64bit versions of each VisualC++ package, even if you do not use Wampserver 64 bit.
2) You forgot to provide Admin Privileges to WAMP Server : Launch and Install with the "Run as administrator" option, very important.
3) WAMP, IIS and Skype fighting over same port :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.