XAMPP 和 Thunderbird 冲突
Posted
技术标签:
【中文标题】XAMPP 和 Thunderbird 冲突【英文标题】:XAMPP and Thunderbird conflict 【发布时间】:2016-04-05 20:56:27 【问题描述】:每当我在 XAMPP 服务器运行时打开 Mozilla Thunderbird 时,都会不断弹出错误消息 “Apache HTTP 服务器已停止工作”(它确实会断开 localhost 访问)。
我怀疑这可能是端口冲突问题,因为当我关闭 Thunderbird 时错误消息停止并且它们都使用相同的端口 25。所以我尝试在 Thunderbird 中将 25 更改为 26,并尝试将 Apache Server 端口从443,因为 Thunderbird 也使用端口 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
操作系统 = Windows 7 64 位
Xampp 服务设置:
端口
Apache2.4 = 80, 443
水星 = 25、79、105、106、110、143、2224
httpd.conf:
听 80
sendmail.ini:
smtp_server=localhost
smtp_port=25
php.ini:
[邮件功能]
SMTP = 本地主机
smtp_port = 25
sendmail_from = root@localhost
雷鸟
我在 Thunderbird 客户端的四个帐户中,两个帐户使用 587 作为端口,两个 localhost 帐户使用 25。
accountname1: root@localhost 账户名2:root2@localhost
服务器名称:本地主机
端口:110
Apache access.log:
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 错误日志
[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
【问题讨论】:
我已经改了。现在不会出现错误消息。但我无法连接本地主机。 是的。你说的对。我刚试了一下就可以访问了。 【参考方案1】:将端口更改为 85
访问 localhost 通过像这样访问
localhost:85/
【讨论】:
以上是关于XAMPP 和 Thunderbird 冲突的主要内容,如果未能解决你的问题,请参考以下文章
Windows 10 上的 XAMPP 和 Skype 端口冲突