当前位置: 首页 > 知识库问答 >
问题:

xampp不运行htpdocs的网页

姬振濂
2023-03-14

我使用xampp来运行localhost,但每次我尝试运行网页时,它都会给我这个错误

< code >“此网页不可用”

< code >“错误连接被拒绝”

我尝试重新安装xampp这项工作,但一旦我关闭我的笔记本电脑同样的问题happen.when重新安装一个黑色的命令提示符出现,当我运行xampp它仍然存在,如果我关闭这个提示符xampp将不会运行任何网页

我不得不将Apache端口从80更改为8080,将443更改为4433

这里是apacheerror.log


[Mon Aug 10 07:18:24.613453 2015] [ssl:warn] [pid 8112:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:18:24.894728 2015] [ssl:warn] [pid 8112:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:18:24.957214 2015] [mpm_winnt:notice] [pid 8112:tid 560] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1m PHP/5.6.11 configured -- resuming normal operations
[Mon Aug 10 07:18:24.957214 2015] [mpm_winnt:notice] [pid 8112:tid 560] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Mon Aug 10 07:18:24.957214 2015] [core:notice] [pid 8112:tid 560] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Aug 10 07:18:24.957214 2015] [mpm_winnt:notice] [pid 8112:tid 560] AH00418: Parent: Created child process 436
Apache server shutdown initiated...
sl:warn] [pid 436:tid 532] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:18:26.511729 2015] [ssl:warn] [pid 436:tid 532] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:18:26.589879 2015] [mpm_winnt:notice] [pid 436:tid 532] AH00354: Child: Starting 150 worker threads.
[Mon Aug 10 07:22:00.862040 2015] [ssl:warn] [pid 5880:tid 532] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:22:00.987041 2015] [core:warn] [pid 5880:tid 532] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Aug 10 07:22:01.127643 2015] [ssl:warn] [pid 5880:tid 532] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:22:01.174544 2015] [mpm_winnt:notice] [pid 5880:tid 532] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1m PHP/5.6.11 configured -- resuming normal operations
[Mon Aug 10 07:22:01.174544 2015] [mpm_winnt:notice] [pid 5880:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Mon Aug 10 07:22:01.174544 2015] [core:notice] [pid 5880:tid 532] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Aug 10 07:22:01.174544 2015] [mpm_winnt:notice] [pid 5880:tid 532] AH00418: Parent: Created child process 4556
[Mon Aug 10 07:22:02.514430 2015] [ssl:warn] [pid 4556:tid 456] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:22:02.717555 2015] [ssl:warn] [pid 4556:tid 456] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:22:02.788892 2015] [mpm_winnt:notice] [pid 4556:tid 456] AH00354: Child: Starting 150 worker threads.
[Mon Aug 10 07:22:18.656860 2015] [mpm_winnt:notice] [pid 8112:tid 560] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 10 07:22:20.795957 2015] [mpm_winnt:notice] [pid 436:tid 532] AH00364: Child: All worker threads have exited.
[Mon Aug 10 07:22:20.827226 2015] [mpm_winnt:notice] [pid 8112:tid 560] AH00430: Parent: Child process 436 exited successfully.
[Mon Aug 10 07:23:46.225999 2015] [mpm_winnt:notice] [pid 5880:tid 532] AH00428: Parent: child process 4556 exited with status 1 -- Restarting.
[Mon Aug 10 07:23:46.585417 2015] [ssl:warn] [pid 5880:tid 532] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:23:46.632250 2015] [mpm_winnt:notice] [pid 5880:tid 532] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1m PHP/5.6.11 configured -- resuming normal operations
[Mon Aug 10 07:23:46.632250 2015] [mpm_winnt:notice] [pid 5880:tid 532] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Mon Aug 10 07:23:46.632250 2015] [core:notice] [pid 5880:tid 532] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Aug 10 07:23:46.632250 2015] [mpm_winnt:notice] [pid 5880:tid 532] AH00418: Parent: Created child process 3856
[Mon Aug 10 07:23:47.802446 2015] [ssl:warn] [pid 3856:tid 516] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:23:48.021182 2015] [ssl:warn] [pid 3856:tid 516] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:23:48.083755 2015] [mpm_winnt:notice] [pid 3856:tid 516] AH00354: Child: Starting 150 worker threads.
[Mon Aug 10 07:23:53.326069 2015] [mpm_winnt:crit] [pid 3856:tid 516] AH02538: Child: Parent process exited abruptly. Child process is ending
[Mon Aug 10 07:23:55.357323 2015] [mpm_winnt:notice] [pid 3856:tid 516] AH00364: Child: All worker threads have exited.
[Mon Aug 10 07:25:24.319583 2015] [ssl:warn] [pid 5812:tid 524] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:25:24.569583 2015] [ssl:warn] [pid 5812:tid 524] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:25:24.632089 2015] [mpm_winnt:notice] [pid 5812:tid 524] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1m PHP/5.6.11 configured -- resuming normal operations
[Mon Aug 10 07:25:24.632089 2015] [mpm_winnt:notice] [pid 5812:tid 524] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Mon Aug 10 07:25:24.632089 2015] [core:notice] [pid 5812:tid 524] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Aug 10 07:25:24.632089 2015] [mpm_winnt:notice] [pid 5812:tid 524] AH00418: Parent: Created child process 8172
[Mon Aug 10 07:25:25.960236 2015] [ssl:warn] [pid 8172:tid 444] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:25:26.163361 2015] [ssl:warn] [pid 8172:tid 444] AH01909: www.example.com:4433:0 server certificate does NOT include an ID which matches the server name
[Mon Aug 10 07:25:26.225949 2015] [mpm_winnt:notice] [pid 8172:tid 444] AH00354: Child: Starting 150 worker threads.

共有2个答案

耿弘阔
2023-03-14

您需要指定端口号。如果您的端口号是8080,则链接类似http://localhost:8080/pd。

越高峻
2023-03-14

您是否将xampp文件夹放在您的根计算机文件夹中。即C://驱动器

 类似资料:
  • 如何修复这些错误?

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

  • 在阅读了一些关于如何将xampp升级到新版本的php的问题后。我开始升级我的版本7因为我想学习 严格类型提示 我从官方网站下载了PHP7。我将这个下载文件夹的内容复制到xampp的php文件夹中。但它不起作用。我重新命名了php。ini开发到php。伊尼。有没有更好的方法来做到这一点,因为它不起作用。 请帮忙。

  • 我已经安装了XAMPP v3.2.2,并且Apache和MySQL运行正常。但Tomcat不会启动,并出现错误: 当我打开名为catalina的日志时。pid仅具有pid 8556(尽管每次尝试运行Tomcat时该值都不同)。 我已经更改了Tomcat的默认端口。我已经安装了JavaJDK()和JavaJRE(),并将Windows系统属性中的环境变量设置为和到前面提到的文件路径。我不确定我还可以

  • 直到昨天,我的阿帕奇一切都很好。但当我现在开始的时候,会发现错误: 名为的Apache服务报告了以下错误: httpd.exe:C:/xampp/apache/conf/httpd.conf第520行语法错误: C:/xampp/apache/conf/额外/httpd-xampp.conf第17行语法错误: 无法加载C:/xampp/php/php7ts.dll进入服务器:找不到指定的模块。.

  • 我已经在Windows 7 ulimate上成功安装了XAMPP。但在从XAMPP控制面板运行Apache时发现以下错误: 检测到问题!端口3306由“C:\Program Files\MySQL Server 5.1\bin\mysqld”使用-默认文件…如果没有配置的端口,MySQL将无法启动。您需要卸载/禁用/重新配置阻塞应用程序,或重新配置我的SQL和控制面板以在其他端口上侦听 请帮助解决