php XAMPP 终止工作线程 0

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4536638/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 13:22:11  来源:igfitidea点击:

XAMPP terminating worker thread 0

phpxampp

提问by jeni

Am running PHP applications using XAMPP server in Windows XP. It was working fine just yesterday, but suddenly it started showing the error: "Terminating worker thread 0 and Terminating worker thread 1". Does anybody know what went wrong? Can you suggest the steps I have to do to fix it? My cmd prompt is also disappearing when I open it.

我在 Windows XP 中使用 XAMPP 服务器运行 PHP 应用程序。就在昨天它工作正常,但突然开始显示错误:“正在终止工作线程 0 和终止工作线程 1”。有人知道出了什么问题吗?你能建议我必须做的步骤来修复它吗?当我打开它时,我的 cmd 提示也消失了。

Thanks in advance.

提前致谢。

回答by J Piombo

It means you have another web server open.... In my case when I faced that issue, I had the Skype opened using port 80. To solve this issue, you can try closing Skype and try or go to Skype settings, connection, and disable the checkbox that says: "Use port 80 and 443 as an alternatives for incoming connections" See this thread: http://www.mydigitallife.info/2008/12/03/disable-skype-from-using-opening-and-listening-on-port-80-and-443-on-local-computer/

这意味着您打开了另一台 Web 服务器...。就我而言,当我遇到该问题时,我使用端口 80 打开了 Skype。要解决此问题,您可以尝试关闭 Skype 并尝试或转到 Skype 设置、连接、并禁用显示以下内容的复选框:“使用端口 80 和 443 作为传入连接的替代方案”请参阅此线程:http: //www.mydigitallife.info/2008/12/03/disable-skype-from-using-opening- and-listening-on-port-80-and-443-on-local-computer/

回答by Basharat Ali

Click the button on the xampp control panel "check ports", this will show you whats running through port 80, the same port that apache uses by default. I had Skype running through port 80 as soon as I quite Skype apache ran normally.

单击 xampp 控制面板上的“检查端口”按钮,这将显示通过端口 80 运行的内容,该端口与 apache 默认使用的端口相同。Skype apache 正常运行后,我就让Skype 通过端口80 运行。

Thanks

谢谢

回答by Rpicheta

Find this file in your apache conf folder : httpd-vhosts Check this :

在你的 apache conf 文件夹中找到这个文件:httpd-vhosts 检查这个:

<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/xampp/htdocs"
<Directory "C:/xampp/htdocs">
    Allowoverride All
    order deny,allow
    allow from all
</Directory>

maybe you have wrong code here ;) This is corect code in my file

也许你这里有错误的代码;) 这是我文件中的正确代码