Apache + PHP

Source: Internet
Author: User

Tags: sdn ash ror dir must sharp Reg bin win

Reference Links:

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

First, install 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"

 

Reference Link: 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 is very very simple. You get the error message when you manually try to start the webserver by "httpd-k start", but no service is defined yet . Just do a "httpd-k install" and the Windows service are 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 is 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) is typically used only once per socket address (Protocol/network address/port).  : AH00072:make_sock:could not bind to address [::]:443 (OS 10048) usually only once per socket address (Protocol/network address/port) is allowed.  : AH00072:make_sock:could not bind to address 0.0.0.0:443ah00451:no listening sockets available, shutting downAH00 015: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 is corrected before the service can be started.  (OS 10048) is typically used only once per socket address (Protocol/network address/port).  : AH00072:make_sock:could not bind to address [::]:443 (OS 10048) usually only once per socket address (Protocol/network address/port) is allowed. : 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 12    7.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 

Go to Apache's installation directory, search for httpd-ssl.conf, and right-click the text to open. Look for 443 to replace with other infrequently used port numbers, such as 442. Next, you can start Apache normally.

#
# when we also provide SSL we had 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


Second, install PHP

[Email protected]:~$ su rootpassword: [email protected]:/home/zhl# rabbitmqctl list_userslisting usersadmin[ Administrator]guest[administrator][email protected]:/home/zhl# Rabbitmqctl  

Apache + PHP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: