<bdo id='7UbqS'></bdo><ul id='7UbqS'></ul>

<small id='7UbqS'></small><noframes id='7UbqS'>

  • <tfoot id='7UbqS'></tfoot>
  • <i id='7UbqS'><tr id='7UbqS'><dt id='7UbqS'><q id='7UbqS'><span id='7UbqS'><b id='7UbqS'><form id='7UbqS'><ins id='7UbqS'></ins><ul id='7UbqS'></ul><sub id='7UbqS'></sub></form><legend id='7UbqS'></legend><bdo id='7UbqS'><pre id='7UbqS'><center id='7UbqS'></center></pre></bdo></b><th id='7UbqS'></th></span></q></dt></tr></i><div id='7UbqS'><tfoot id='7UbqS'></tfoot><dl id='7UbqS'><fieldset id='7UbqS'></fieldset></dl></div>

    <legend id='7UbqS'><style id='7UbqS'><dir id='7UbqS'><q id='7UbqS'></q></dir></style></legend>

      1. Apache 没有从 XAMPP 控制面板运行(错误:Apache 意外关闭.这可能是由于端口被阻塞)

        Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)(Apache 没有从 XAMPP 控制面板运行(错误:Apache 意外关闭.这可能是由于端口被阻塞))

        1. <small id='5Y8bX'></small><noframes id='5Y8bX'>

            <legend id='5Y8bX'><style id='5Y8bX'><dir id='5Y8bX'><q id='5Y8bX'></q></dir></style></legend>
              <bdo id='5Y8bX'></bdo><ul id='5Y8bX'></ul>
                <tbody id='5Y8bX'></tbody>

            • <i id='5Y8bX'><tr id='5Y8bX'><dt id='5Y8bX'><q id='5Y8bX'><span id='5Y8bX'><b id='5Y8bX'><form id='5Y8bX'><ins id='5Y8bX'></ins><ul id='5Y8bX'></ul><sub id='5Y8bX'></sub></form><legend id='5Y8bX'></legend><bdo id='5Y8bX'><pre id='5Y8bX'><center id='5Y8bX'></center></pre></bdo></b><th id='5Y8bX'></th></span></q></dt></tr></i><div id='5Y8bX'><tfoot id='5Y8bX'></tfoot><dl id='5Y8bX'><fieldset id='5Y8bX'></fieldset></dl></div>

                <tfoot id='5Y8bX'></tfoot>

                  本文介绍了Apache 没有从 XAMPP 控制面板运行(错误:Apache 意外关闭.这可能是由于端口被阻塞)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我已经在 Windows 7 上成功安装了 XAMPP (xampp-win32-1.8.2-0-VC9-installer.exe).但不幸的是,在从 XAMPP 控制面板运行 Apache 的过程中发现了以下错误:

                  I have installed XAMPP (xampp-win32-1.8.2-0-VC9-installer.exe) on Windows 7 successfully. But unfortunately, the following error was found during running Apache from XAMPP Control Panel:

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

                  推荐答案

                  这个问题有很多可能的答案.最常见且最有可能的是您正在运行另一个程序,该程序阻塞了端口 80 或 443.如果您安装了 Skype,那么您就发现了问题!将 apache 的端口设置更改为 81,apache 就可以工作了.有一个很好的教程要检查这一点,您可以通过单击开始菜单并输入cmd"打开命令行,然后输入命令

                  There are many possible answers for this problem. The most common and most likely is that you're running another program which is blocking port 80 or 443. If you've installed Skype, then you've found your problem! Change apache's port settings to 81 and apache will work. There's a good tutorial on that To check this you can open up your command line by clicking the start menu, and typing 'cmd', and enter the command

                      netstat -nab
                  

                  这将返回一个与此模式大致相似的程序列表

                  this wil return a list of programs that will vaguely resemble this pattern

                      [someprogram.exe]
                      UDP     [fe80::numbers:numbers:numbers:numbers%numbers]:portnumber
                  

                  您需要找到以 :80 结尾的一行(或多行)并终止它们才能启动 apache.如果没有以 :80 结尾的行,你可以做更多的事情.

                  You need to find a line (or lines) ending in :80 and terminate them in order to start apache. If there is no line ending in :80, there are more things you can do.

                  首先,导航到 xampp 的目录(默认为 c:xampp)并双击 apache_start.bat.这将打开一个命令行并返回有关为什么 apache 无法运行的更详细的错误.大多数情况下,寻找可以通过编辑 httpd.conf 或 httpd-ssl.conf 文件创建的语法错误.如果您已对其进行了编辑并且是新用户,那么这很容易做到.

                  First, navigate to xampp's directory (default is c:xampp) and double click apache_start.bat. This will open up a comand line and return more detailed errors about why apache can't run. Mostly, be looking for syntax errors that you could've created by editing your httpd.conf, or httpd-ssl.conf files. This is very easy to do if you've edited it and are a new user.

                  如果仍然失败,您最后的希望是通过单击 xampp 控制面板中 apache 行中的日志选项卡并单击错误日志来检查 apache 错误日志.

                  If still this fails, your last hope is to check the apache error log by clicking on the logs tab in apache's row in the xampp control panel and clicking error log.

                  如果这些都不起作用,请不要放弃!你明白了!

                  If none of this works, don't give up! You got this!

                  如果你改变了apache的端口,你还必须进入httpd.conf(位于xampp/apache/conf)和184行附近,替换

                  If you change the port of apache, you will also have to go into httpd.conf (located in xampp/apache/conf) and near line 184, replace

                  服务器名称 localhost:80

                  服务器名称 localhost:81

                  也可以在你的localhost的url中指定81端口,即

                  It is also possible to specify port 81 in the url of your localhost, i.e.

                  localhost:81/my_project.php

                  localhost:81/my_project.php

                  这篇关于Apache 没有从 XAMPP 控制面板运行(错误:Apache 意外关闭.这可能是由于端口被阻塞)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

                          <bdo id='hBm5Z'></bdo><ul id='hBm5Z'></ul>
                          <tfoot id='hBm5Z'></tfoot>
                          <i id='hBm5Z'><tr id='hBm5Z'><dt id='hBm5Z'><q id='hBm5Z'><span id='hBm5Z'><b id='hBm5Z'><form id='hBm5Z'><ins id='hBm5Z'></ins><ul id='hBm5Z'></ul><sub id='hBm5Z'></sub></form><legend id='hBm5Z'></legend><bdo id='hBm5Z'><pre id='hBm5Z'><center id='hBm5Z'></center></pre></bdo></b><th id='hBm5Z'></th></span></q></dt></tr></i><div id='hBm5Z'><tfoot id='hBm5Z'></tfoot><dl id='hBm5Z'><fieldset id='hBm5Z'></fieldset></dl></div>

                            <small id='hBm5Z'></small><noframes id='hBm5Z'>

                          1. <legend id='hBm5Z'><style id='hBm5Z'><dir id='hBm5Z'><q id='hBm5Z'></q></dir></style></legend>
                              <tbody id='hBm5Z'></tbody>