httpd.exe你的电脑中缺失msvcr110.dll怎么办
Download and install, if you not have it already, from:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
安装对应的软件
开启appache服务时提示ServerRoot must be a valid directory问题
将apache放在D盘,E盘,F盘下,不要放在他们子文件下
config/httpd.conf文件修改SEVROOT
#Define SRVROOT "/Apache24"
Define SRVROOT "D:/Apache24"
ServerRoot "${SRVROOT}"
安装服务
出现:apache service already installed
首先卸载服务:httpd.exe -k uninstall -n apache2.4
再重新安装
httpd.exe -k install -n apache2.4
出现错误
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: mak
e_sock: could not bind to address [::]:443
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: mak
e_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
查看该端口是什么占用了
netstat -tulnp|grep 443 linux查看端口占用
netstat -aon|findstr "443" windows查看端口占用
windows下启动apache报make_sock: could not bind to address [::]:443错误!
由于安装了虚拟机VMWare,被占用443端口
解决方法:
打开虚拟机VMware,打开菜单 编辑→首选项(Edit–> Preferences)
点击共享虚拟机后,找到右边的更改设置,点击它
在端口号处,输入444,点击确定,大功告成
重新安装服务
安装服务
httpd.exe -k install -n apache2.4
httpd.exe -k uninstall -n apache2.4
启动服务
httpd.exe -k start
启动成功!!!!
Download and install, if you not have it already, from:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
安装对应的软件
开启appache服务时提示ServerRoot must be a valid directory问题
将apache放在D盘,E盘,F盘下,不要放在他们子文件下
config/httpd.conf文件修改SEVROOT
#Define SRVROOT "/Apache24"
Define SRVROOT "D:/Apache24"
ServerRoot "${SRVROOT}"
安装服务
出现:apache service already installed
首先卸载服务:httpd.exe -k uninstall -n apache2.4
再重新安装
httpd.exe -k install -n apache2.4
出现错误
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: mak
e_sock: could not bind to address [::]:443
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: mak
e_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
查看该端口是什么占用了
netstat -tulnp|grep 443 linux查看端口占用
netstat -aon|findstr "443" windows查看端口占用
windows下启动apache报make_sock: could not bind to address [::]:443错误!
由于安装了虚拟机VMWare,被占用443端口
解决方法:
打开虚拟机VMware,打开菜单 编辑→首选项(Edit–> Preferences)
点击共享虚拟机后,找到右边的更改设置,点击它
在端口号处,输入444,点击确定,大功告成
重新安装服务
安装服务
httpd.exe -k install -n apache2.4
httpd.exe -k uninstall -n apache2.4
启动服务
httpd.exe -k start
启动成功!!!!