当前位置: 首页 > 面试题库 >

xampp安装后运行apache时出错

公良天逸
2023-03-14
问题内容

我在win7上安装了xampp并在启动apache时收到此错误。我没有检查Skype,没有任何变化。我如何找到使用端口80的端口?我该如何解决。我没有其他服务器在运行。

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

以下链接没有帮助我

为什么Apache无法启动XAMPP安装?

这是错误日志

[Sat Jun 07 22:36:53.823331 2014] [ssl:warn] [pid 6048:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:54.084345 2014] [ssl:warn] [pid 6048:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:55.240412 2014] [mpm_winnt:notice] [pid 6048:tid 236] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 configured -- resuming normal operations
[Sat Jun 07 22:36:55.241412 2014] [mpm_winnt:notice] [pid 6048:tid 236] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Sat Jun 07 22:36:55.241412 2014] [core:notice] [pid 6048:tid 236] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Sat Jun 07 22:36:55.339417 2014] [mpm_winnt:notice] [pid 6048:tid 236] AH00418: Parent: Created child process 1840
[Sat Jun 07 22:36:55.950452 2014] [ssl:warn] [pid 1840:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:56.202467 2014] [ssl:warn] [pid 1840:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Jun 07 22:36:56.299472 2014] [mpm_winnt:notice] [pid 1840:tid 248] AH00354: Child: Starting 150 worker threads.

问题答案:

尝试这些方法,它应该可以工作:

  • 退出/退出 Skype (确保其未运行),因为它保留了localhost:80
  • 禁用防病毒(如果不起作用,请先尝试禁用Skype并再次运行,请执行此步骤)
  • 右键单击xampp控制面板并以管理员身份运行


 类似资料:
  • 我一直在尝试在ubuntu16上安装xampp(5.6.24)。04,但我遇到了以下错误- /opt/lampp/etc/httpd的第136行出现语法错误。conf:无法加载模块/mod_ssl。所以进入服务器:/opt/lampp/modules/mod_ssl。所以:无法打开共享对象文件:没有这样的文件或目录 我尝试过在互联网上搜索,但是找不到任何专门针对ubuntu的东西。 任何建议都可能

  • 我在Windows7上使用Bitnami XAMPP。我已经用了一年多了,但今天突然显示Apache关机意外错误。 正在尝试启动Apache应用程序... 9:43:46PM[Apache]检测到状态更改:正在运行 9:43:47PM[Apache]检测到状态更改:已停止 9:43:47PM[Apache]错误:Apache意外关闭。 9:43:47PM[Apache]这可能是由于端口阻塞、缺少依

  • 我在Visual Studio 2013中创建了一个C#项目。我想使用Install Shield free版本创建一个安装程序。我创建了一个安装程序,并试图在其他计算机上运行它,但当我运行它并试图登录到该程序时,我遇到了有关mysql数据库的问题。错误消息是: 如果我点击详细信息按钮,我有一系列的错误,这是指MySQL。示例: 是项目的名称是一个类,其中是连接,是来自的函数,返回连接。我试图在另

  • 我收到以下控制台日志: 它说“检测到状态变化:正在运行”立即变为“已停止”。我曾尝试: 关闭内部网络的Windows防火墙 在两个位置将httpd.conf文件中的端口80更改为99监听:80和ServerNamelocalhost:80 在相同的两个位置将httpd.conf文件中的端口443更改为445。 我的机器上没有安装Apache服务器作为Windows服务。 没有为今天的日期生成错误或

  • 我正在尝试在Windows Server 2012 R2上启用Apache Server(XAMPP)上的SSL。我有来自证书颁发机构的签名证书。 按照安装说明,将私钥、服务器证书和中间CA证书正确复制到正确目录,并在httpd-ssl文件中进行必要的证书名称路径设置。

  • 您好,我正在安装XAMPP,MySQL端口3306有问题。 我已使用控制面板配置我的。ini并将端口设置更改为3307,但仍显示以下错误: 22:48:55[mysql]检测到问题!22:48:55[mysql]端口3306正在被“C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe”--defauls-file="C:\Program Da