问题:

WAMP不会变绿。 几周前它运作良好。 在查看关于此主题的其他答案时,很多人都表示要在Apache中安装服务。

当我这样做时,我得到一个错误代码说明:

“程序无法启动,因为您的计算机缺少VCRUNTIME140.dll。请尝试重新安装该程序以解决问题。”

WAMP won’t turn green.It was working fine a couple of weeks ago.When looking at other answers on this topic, a lot said to install services in Apache.When I do this, I get an error code stating:”The program can’t start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix the problem.”

问题:

我开发了一个PHP Web应用程序。 我给了用户一个选项,可以一次更新多个问题。 在这样做时,有时用户遇到此错误。 有没有办法增加apache中URL的长度?

I have developed a PHP web app.I am giving an option to the user to update multiple issues on one go.In doing so, sometimes the user is encountering this error.Is there any way to increase the lenght of URL in apache?

问题:

我正在使用Apache / PHP / MySQL堆栈。
使用CakePHP作为框架。

我偶尔会得到一个空白的白页。 我无法通过Cake调试它,所以我偷看了apache error.log,这就是我得到的:

[Wed Oct 12 15:27:23 2011] [notice] child pid 3580 exit signal Segmentation fault (11)
[Wed Oct 12 15:27:34 2011] [notice] child pid 3581 exit signal Segmentation fault (11)
[Wed Oct 12 15:30:52 2011] [notice] child pid 3549 exit signal Segmentation fault (11)
[Wed Oct 12 16:04:27 2011] [notice] child pid 3579 exit signal Segmentation fault (11)
zend_mm_heap corrupted
[Wed Oct 12 16:26:24 2011] [notice] child pid 3625 exit signal Segmentation fault (11)
[Wed Oct 12 17:57:24 2011] [notice] child pid 3577 exit signal Segmentation fault (11)
[Wed Oct 12 17:58:54 2011] [notice] child pid 3550 exit signal Segmentation fault (11)
[Wed Oct 12 17:59:52 2011] [notice] child pid 3578 exit signal Segmentation fault (11)
[Wed Oct 12 18:01:38 2011] [notice] child pid 3683 exit signal Segmentation fault (11)
[Wed Oct 12 22:20:53 2011] [notice] child pid 3778 exit signal Segmentation fault (11)
[Wed Oct 12 22:29:51 2011] [notice] child pid 3777 exit signal Segmentation fault (11)
[Wed Oct 12 22:33:42 2011] [notice] child pid 3774 exit signal Segmentation fault (11)

这是什么分段错误,我该如何解决?

更新:

PHP Version 5.3.4, OSX local development
Server version: Apache/2.2.17 (Unix)
CakePhp: 1.3.10

I am using Apache/PHP/MySQL stack.Using as framework CakePHP.Every now and then I get a blank white page.I can’t debug it through Cake, so I peek in the apache error.log and here’s what I get:What is this segmentation fault, and how can I fix it?UPDATE:

问题:

自从我使用Apache httpd Web服务器以来已经有一段时间了。 我正在为一个项目启动本地服务器,当我尝试请求localhost / index.html时,我收到500错误,我在错误日志中看到了这个:

[Tue Jan 21 09:23:58 2014] [crit] [client ::1] configuration error:  couldn't perform authentication. AuthType not set!: /index.html
[Tue Jan 21 09:23:58 2014] [error] an unknown filter was not added: DEFLATE
[Tue Jan 21 09:23:58 2014] [crit] [client ::1] configuration error:  couldn't perform authentication. AuthType not set!: /favicon.ico

看起来apache配置中可能存在2个错误,其中一个与“AuthType未设置!”相关。 可能还有一个与“过滤器没有添加:DEFLATE”有关。 我不知道这些意味着什么或从哪里开始挖掘。

一个基本的谷歌搜索显示这个链接 ,表明罪魁祸首可能是“需要所有授予”。 我的httpd.conf中的这一行可能会涉及到。

<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

这个apache配置主要是在这个项目的生产中使用的,所以我知道这有效,只是目前不在我的工作站上。 这意味着什么,我接下来应该尝试什么? 我确实尝试评论“需要所有授予”并重新启动apache但无济于事。

这个SO问题之后,我还加载了mod_authz_host

LoadModule authz_host_module modules/mod_authz_host.so

并添加“Allow from all”,重新启动服务器。 但问题仍然存在。 deflate问题似乎是无关的,并且通过添加很容易解决

LoadModule deflate_module modules/mod_deflate.so

问题仍然存在,如何解决这500错误?

[Tue Jan 21 09:44:20 2014] [crit] [client ::1] 
configuration error:  couldn't perform authentication. 
AuthType not set!: /index.html

It’s been a while since I used the Apache httpd web server.I’m firing up a local server for a project and when I try to request localhost/index.html, I get a 500 error and I see this in the error log:It looks like there are possibly 2 errors here in the apache config, one related to “AuthType not set!”and possibly another related to “filter was not added: DEFLATE”.I dont know what these means or where to start digging in.A basic Google search revealed this link which indicates that the culprit may be “Require all granted”.This line in my httpd.conf may be involved.This apache config is mostly what is used in production for this project, so I know this works, just not currently on my workstation.What does this mean and what should I try next?I did try commenting out “Require all granted” and restarting apache but to no avail.Following this SO question I also loaded mod_authz_hostand added “Allow from all”, restarted the server,.but the issue persists.The deflate issue appears to be unrelated, and was easily solved by addingThe question remains, how do I solve this 500 error?