博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Apache + PHP
阅读量:7254 次
发布时间:2019-06-29

本文共 3082 字,大约阅读时间需要 10 分钟。

 

参考链接:

https://www.cnblogs.com/godlei/p/6445391.html 

一、安装Apache 

"D:\soft\Apache24\bin\httpd.exe" -k install

"D:\soft\Apache24\bin\httpd.exe" -k start

 "D:\soft\Apache24\bin\httpd.exe" -k stop

 

: AH00436: No installed service named"Apache2.4"

 

参考链接:https://blog.csdn.net/wuzongpo/article/details/50848166 I had absolutely the same problem with the "AH00436: No installed service named “Apache2.4”" after I downloaded Apache 2.4 for Windows and tried to start it the first time.The solution was very very simple. You get the error message when you manually try to start the webserver by "httpd -k start", but no service was defined yet.just do a "httpd -k install" and the windows service is added to the registry. after that, the "httpd -k start" works without error message.

 

C:\WINDOWS\system32>"D:\soft\Apache24\bin\httpd.exe" -k install  

Errors reported here must be corrected before the service can be started.AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::49d9:2c7d:7039:73fb. Set the 'ServerName' directive globally to suppress this message(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : AH00072: make_sock: could not bind to address [::]:443(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : AH00072: make_sock: could not bind to address 0.0.0.0:443AH00451: no listening sockets available, shutting downAH00015: Unable to open logs

 

C:\WINDOWS\system32>"D:\soft\Apache24\bin\httpd.exe" -k install -n "Apache24"Installing the 'Apache24' serviceThe 'Apache24' 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 [::]:443(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : AH00072: make_sock: could not bind to address 0.0.0.0:443AH00451: no listening sockets available, shutting downAH00015: Unable to open logsC:\WINDOWS\system32>netstat -ano | findstr "443"  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       6248  TCP    127.0.0.1:443          127.0.0.1:51032        ESTABLISHED     6248  TCP    127.0.0.1:443          127.0.0.1:64897        ESTABLISHED     6248  TCP    127.0.0.1:51032        127.0.0.1:443          ESTABLISHED     20144  TCP    127.0.0.1:64897        127.0.0.1:443          ESTABLISHED     20144  C:\WINDOWS\system32>tasklist | findstr "6248"vmware-hostd.exe              6248 Services                   0     17,272 K 进入Apache的安装目录,搜索httpd-ssl.conf,右击文本打开。寻找443替换成其他不常用的端口号,比如442。接下来就可以正常启动Apache了。

#

# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
Define SSL_PORT 442
Listen ${SSL_PORT}
ProtocolsHonorOrder On
Protocols h2 http/1.1

 

 二、安装PHP

  

zhl@ubuntu:~$ su rootPassword: root@ubuntu:/home/zhl# rabbitmqctl list_usersListing usersadmin	[administrator]guest	[administrator]root@ubuntu:/home/zhl# rabbitmqctl  set_permissions -p / admin '.*' '.*' '.*'Setting permissions for user "admin" in vhost "/"root@ubuntu:/home/zhl#

 

转载于:https://www.cnblogs.com/FrankZhou2017/p/9567039.html

你可能感兴趣的文章
ATL中对IDocHostUIHandler的封装
查看>>
python - work4
查看>>
MaskedTextBox
查看>>
开源许可协议简介
查看>>
localeCompare() 方法实现中文的拼音排序
查看>>
sqlyog练习
查看>>
Android学习笔记26-图片切换控件ImageSwitcher的使用
查看>>
PHPMailer
查看>>
C# 动态类型与动态编译简介
查看>>
配置DNS服务器
查看>>
C# 2.0学习之--条件编译
查看>>
lock(3)——更新锁(U)、排它锁(X)、死锁及如何避免死锁
查看>>
使用SignalR 2 注意事项
查看>>
多进程 (一) — 像线程一样管理进程
查看>>
node+vue报错合辑
查看>>
Date——js 获取当前日期到之后一个月30天的日期区间
查看>>
RT-SA-2019-003 Cisco RV320 Unauthenticated Configuration Export
查看>>
Java线程练习
查看>>
Algs4-1.5.22Erods-renyi模型的倍率实验
查看>>
计算机硬件的组成、python的开发层面及语法介绍
查看>>