Xammp start Apache service fqa (xammp starts apache service problem solution summary)

Source: Internet
Author: User

Xammp = Apache + PHP + MySQL is equivalent to a service integration package, which helps users avoid configuration troubles.


Problem description:

However, xammp may also cause problems. Generally, the apache service cannot be started and the following error message is displayed:

9:20:15  [Apache] Status change detected: stopped<span style="color:#ff0000;">9:20:15  [Apache] Error: Apache shutdown unexpectedly.9:20:15  [Apache] This may be due to a blocked port, missing dependencies, 9:20:15  [Apache] improper privileges, a crash, or a shutdown by another method.9:20:15  [Apache] Press the Logs button to view error logs and check9:20:15  [Apache] the Windows Event Viewer for more clues9:20:15  [Apache] If you need more help, copy and post this9:20:15  [Apache] entire log window on the forums</span>

<span style="color:#ff0000;">This may be due to a blocked port, missing dependencies, </span>
On the surface, port conflict is caused by a lack of dependency.

View error logs:

<Span style = "color: # ff0000;"> [Fri Jan 10 10:22:21. 035520 2014] [SSL: Warn] [pid 4420: TID 252] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:22:21. 588552 2014] [SSL: Warn] [pid 4420: TID 252] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:22:21. 622554 2014] [mpm_winnt: Notice] [pid 4420: TID 252] ah00455: Apache/2.4.7 (win32) OpenSSL/1.0.1e PHP/5.5.6 configured -- resuming normal operations [Fri Jan 10 10:22:21. 622554 2014] [mpm_winnt: Notice] [pid 4420: TID 252] ah00456: Apache lounge vc11 server built: Nov 21 2013 20:13:01 [Fri Jan 10 10:22:21. 622554 2014] [core: Notice] [pid 4420: TID 252] ah00094: Command Line: 'C: \ XAMPP \ apache \ bin \ HTTP D.exe-d c:/XAMPP/Apache '[Fri Jan 10 10:22:21. 627554 2014] [mpm_winnt: Notice] [pid 4420: TID 252] ah00418: parent: created child process 5252 [Fri Jan 10 10:22:22. 901627 2014] [SSL: Warn] [pid 5252: TID 264] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:22:23. 153642 2014] [SSL: Warn] [pid 5252: TID 264] ah01909: RSA certifi Cate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:22:23. 183643 2014] [mpm_winnt: Notice] [pid 5252: TID 264] ah00354: Child: Starting 150 worker threads. [Fri Jan 10 10:22:51. 154243 2014] [mpm_winnt: crit] [pid 5252: TID 264] ah02538: Child: parent process exited abruptly. child process is endpoints [Fri Jan 10 10:22:51. 155243 2014] [mpm_winnt: Warn] [Pid 5252: TID 424] (OS 995) the I/O operation has been aborted due to a thread exit or application request.: Ah00341: winnt_accept: asynchronous acceptex failed. [Fri Jan 10 10:22:51. 156243 2014] [mpm_winnt: Warn] [pid 5252: TID 1680] (OS 995) the I/O operation has been aborted due to thread exit or application request.: Ah00341: winnt_accept: asynchronous acceptex failed. [Fri Jan 10 10:23:01. 836854 2014] [SSL: Warn] [pid 7528: TID 252] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:23:02. 099869 2014] [core: Warn] [pid 7528: TID 252] ah00098: PID file C:/XAMPP/Apache/logs/httpd. PID overwritten -- unclean shutdown of previous Apache run? [Fri Jan 10 10:23:02. 762907 2014] [SSL: Warn] [pid 7528: TID 252] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:23:02. 790909 2014] [mpm_winnt: Notice] [pid 7528: TID 252] ah00455: Apache/2.4.7 (win32) OpenSSL/1.0.1e PHP/5.5.6 configured -- resuming normal operations [Fri Jan 10 10:23:02. 790909 2014] [mpm_winnt: Notice] [PID 7528: TID 252] ah00456: Apache lounge vc11 server built: Nov 21 2013 20:13:01 [Fri Jan 10 10:23:02. 790909 2014] [core: Notice] [pid 7528: TID 252] ah00094: Command Line: 'C: \ XAMPP \ apache \ bin \ httpd.exe-d c: /XAMPP/apache' [Fri Jan 10 10:23:02. 795909 2014] [mpm_winnt: Notice] [pid 7528: TID 252] ah00418: parent: created child process 7340 [Fri Jan 10 10:23:03. 757964 2014] [SSL: Warn] [pid 7340: TID 264] H01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:23:03. 968976 2014] [SSL: Warn] [pid 7340: TID 264] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:23:04. 004978 2014] [mpm_winnt: Notice] [pid 7340: TID 264] ah00354: Child: Starting 150 worker threa DS. [Fri Jan 10 10:59:08. 633788 2014] [SSL: Warn] [pid 6956: TID 252] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:59:08. 664790 2014] [core: Warn] [pid 6956: TID 252] ah00098: PID file C:/XAMPP/Apache/logs/httpd. PID overwritten -- unclean shutdown of previous Apache run? [Fri Jan 10 10:59:08. 844800 2014] [SSL: Warn] [pid 6956: TID 252] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:59:08. 880802 2014] [mpm_winnt: Notice] [pid 6956: TID 252] ah00455: Apache/2.4.7 (win32) OpenSSL/1.0.1e PHP/5.5.6 configured -- resuming normal operations [Fri Jan 10 10:59:08. 880802 2014] [mpm_winnt: Notice] [PID 6956: TID 252] ah00456: Apache lounge vc11 server built: Nov 21 2013 20:13:01 [Fri Jan 10 10:59:08. 880802 2014] [core: Notice] [pid 6956: TID 252] ah00094: Command Line: 'C: \ XAMPP \ apache \ bin \ httpd.exe-d c: /XAMPP/apache' [Fri Jan 10 10:59:08. 885802 2014] [mpm_winnt: Notice] [pid 6956: TID 252] ah00418: parent: created child process 5836 [Fri Jan 10 10:59:09. 862858 2014] [SSL: Warn] [pid 5836: TID 264] H01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:59:10. 046869 2014] [SSL: Warn] [pid 5836: TID 264] ah01909: RSA certificate configured for www.example.com: 443 does not include an ID which matches the server name [Fri Jan 10 10:59:10. 083871 2014] [mpm_winnt: Notice] [pid 5836: TID 264] ah00354: Child: Starting 150 worker threa DS. The system cannot find the specified path. </Span>


I can't see why.


Solution: (mainly for port issues)

1. conventional practices

You shuld run file setup_xampp.bat in XAMP folder first!

2. Modify the Apache listening port

on your XAMPP control panel, next to apache, select the "Config" option and select the first file (httpd.conf):there, look for the "listen" line (you may use the find tool in the notepad) and there must be a line stating "Listen 80". Note: there are other lines with "listen" on them but they should be commented (start with a #), the one you need to change is the one saying exactly "listen 80". Now change it to "Listen 1337".Start apache now.If the error subsists, it's because there's another port that's already in use. So, select the config option again (next to apache in your xampp control panel) and select the second option this time (httpd-ssl.conf):there, look for the line "Listen 443" and change it to "Listen 7331".Start apache, it should be working now.

3. If you have installed Skype, the port may be occupied by Skype. modify it.
If you are using the latest Skype, go to:Tools -> Options -> Advanced -> connection.Disable the 'Use port 80 and 443 for alternatve.. ' Sign Out and Close all Skype windows. Try restart your Apache again.


4. If you have started the IIS service (Microsoft Web Service), disable

It means port 80 is already used by another one.Simply follow these steps:Open windows -> click on Run (win + R) -> type services.mscGoto IIS Admin -> Right click on it and click on Stop Option.Open XAMPP click on Start Action of Apache Module, Apache Module is run.ORFor find the port of Apache (80) in Command Prompt simply type netstat -aon it displays present used ports on windows, under Local Address column it shown as 0.0.0.0:80. If it displays this port another connection is already used this port number.Active Connections in Windows XP:



Related Article

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: [email protected] and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.