下载

官方安全狗下载地址

之前的版本v4的2019 https://wwc.lanzouy.com/iVSQD04vfipe

我下载的是Apache版的

安装

phpstudy2018找到Apache目录进入bin文件里面运行cmd然后执行下面的命名

1
2
3
4
5
6
7
8
9
10
11
12
C:\phpStudy\PHPTutorial\Apache\bin>httpd.exe -k install -n apache2.4.39
Installing the 'apache2.4.39' service
The 'apache2.4.39' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address [::]:80
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

C:\phpStudy\PHPTutorial\Apache\bin>httpd.exe -k install -n apache2.4.39
[Sun May 15 11:56:57.738183 2022] [mpm_winnt:error] [pid 3688:tid 168] AH00433: apache2.4.39: Service is already installed.

然后重启web服务器

先启动Apache服务器
确定他是启动的状态

他会自动检测Apache如果没有检查出来Apache查询启动

重新启动在安装Apache

测试一下