每当我在XAMPP服务器运行时打开Mozilla Thunderbird时,就会不断弹出一条错误消息"Apache HTTP服务器已停止工作"(它确实断开了本地主机访问)。
我怀疑这可能是端口冲突问题,因为当我关闭Thunderbird时,错误消息会停止,并且它们都使用相同的端口25。因此,我尝试在Thunderbird中将25更改为26,并尝试将Apache Server端口从443更改为444,因为Thunderbirds也使用端口443(如下面给出的Apache access.log)。
我相应地更新了conf、sendmail.ini和php.ini文件。但他们都失败了。我在下面给出了完整的错误消息。
Apache HTTP Server has stopped working
Problem signature:
Problem Event Name: APPCRASH
Application Name: httpd.exe
Application Version: 2.4.12.0
Application Timestamp: 54c90386
Fault Module Name: php5apache2_4.dll
Fault Module Version: 5.5.24.0
Fault Module Timestamp: 552ec2da
Exception Code: c0000005
Exception Offset: 00003510
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:'Windows'system32'en-US'erofflps.txt
我的资源信息:
PHP Xampp=5.5.24
OS=Windows 7 64位
Xampp服务设置:
端口
Apache2.4=800443
汞=25、79、105、106、110、143、2224
httpd.conf:
听80
sendmail.ini:
smtp_server=localhost
smtp_port=25
php.ini:
【邮件功能】
SMTP=localhost
smtp_port=25
sendmail_from=root@localhost
雷鸟
在我在Thunderbird客户端的四个帐户中,两个帐户使用587作为端口,两个localhost帐户使用25。
帐户名称1:root@localhost帐户名称2:root2@localhost
服务器名称:localhost
端口:110
Apache访问日志:
127.0.0.1 - - [01/Jan/2016:10:12:31 +0530] "CONNECT live.mozillamessaging.com:443 HTTP/1.1" 200 2895 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0"
Apache错误.log
[Fri Jan 01 11:27:16.193174 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00428: Parent: child process 5220 exited with status 3221225477 -- Restarting.
[Fri Jan 01 11:27:17.464707 2016] [ssl:warn] [pid 1036:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 01 11:27:17.555531 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.5.24 configured -- resuming normal operations
[Fri Jan 01 11:27:17.558460 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Fri Jan 01 11:27:17.558460 2016] [core:notice] [pid 1036:tid 256] AH00094: Command line: 'c:''xampp''apache''bin''httpd.exe -d C:/xampp/apache'
[Fri Jan 01 11:27:17.570180 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00418: Parent: Created child process 4776
[Fri Jan 01 11:27:18.864175 2016] [ssl:warn] [pid 4776:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 01 11:27:19.241142 2016] [ssl:warn] [pid 4776:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 01 11:27:19.328060 2016] [mpm_winnt:notice] [pid 4776:tid 268] AH00354: Child: Starting 150 worker threads.
[Fri Jan 01 11:27:21.809600 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00428: Parent: child process 4776 exited with status 3221225477 -- Restarting.
[Fri Jan 01 11:27:23.011795 2016] [ssl:warn] [pid 1036:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 01 11:27:23.140706 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.5.24 configured -- resuming normal operations
[Fri Jan 01 11:27:23.141683 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Fri Jan 01 11:27:23.141683 2016] [core:notice] [pid 1036:tid 256] AH00094: Command line: 'c:''xampp''apache''bin''httpd.exe -d C:/xampp/apache'
[Fri Jan 01 11:27:23.153402 2016] [mpm_winnt:notice] [pid 1036:tid 256] AH00418: Parent: Created child process 5884
将端口更改为85
通过像这样访问
localhost:85/
来访问localhost