php - XAMPP apache Http 服务器已停止工作

标签 php mysql apache

我已经尝试了很多(重新启动 XAMPP、PC 等)但我似乎无法解决这个问题:

Problem signature:
Problem Event Name: APPCRASH
Application Name:   httpd.exe
Application Version:    2.4.17.0
Application Timestamp:  561cc534
Fault Module Name:  libapr-1.dll
Fault Module Version:   1.5.2.0
Fault Module Timestamp: 561cc6a2
Exception Code: c0000005
Exception Offset:   00011fcb
OS Version: 6.1.7601.2.1.0.768.3
Locale ID:  1033
Additional Information 1:   0a9e
Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
Additional Information 3:   0a9e
Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

我在 windows 7 32 位上,MySQL 启动正常,我的旧版本 Apache(在我要使用 SQL 数据库之前)在出现此错误后运行良好:

我也在 XAMPP 控制台中得到这个:

9:47:23 PM  [Apache]    Error: Apache shutdown unexpectedly.
9:47:23 PM  [Apache]    This may be due to a blocked port,  missing dependencies, 
9:47:23 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
9:47:23 PM  [Apache]    Press the Logs button to view error logs and check
9:47:23 PM  [Apache]    the Windows Event Viewer for more clues
9:47:23 PM  [Apache]    If you need more help, copy and post this
9:47:23 PM  [Apache]    entire log window on the forums

最佳答案

解决这个问题:

1 - 从 xampp 面板停止 apache 网络服务器

2 - 从 xampp 面板的配置菜单中选择 (httpd.conf)

3 - 插入代码到文件末尾

<IfModule mpm_winnt_module>
  ThreadStackSize 8388608
</IfModule>

关于php - XAMPP apache Http 服务器已停止工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34477360/

相关文章:

php - MySql 获取列中每个 id 的列表,其中搜索 id 是一个数组

apache - Web 浏览器删除 URL 中的斜线

php - 无法让 XDebug 在 Visual Studio Code 中工作

C# WebRequest 检查页面是否需要 HTTP 身份验证

php - 如何防止包含的文件在 PHP 中生成输出?

php - Mysql - 执行查询花费太多时间

php - 是否可以将 youtube channel 上传的视频列表实现到网站中?

sql - 从存储为文本的数据库中选择财务值

mysql - Tomcat、Spring、Hibernate 应用程序 - 用户报告 session 混淆

线程池增加时 Apache Tomcat 线程处于等待状态