我在Windows 7 Pro 64位上使用Zend Server CE,我尝试使用自签名证书激活HTTPS。
我在httpd.conf中取消了这一行注释:
Include conf/extra/httpd-ssl.conf
我将server.crt和server.key复制到conf目录,然后尝试通过Apache Monitor重新启动Apache。 但随后得到一个popup消息说:
请求的操作失败!
然后,我前往logs / error.log,但是最近的条目已经超过1个小时,并且完全不符合当前的问题。
为什么不是在error.log中logging错误的原因? 我应该在哪里找它呢?
我只需在Windows命令行inputhttpd就可以find问题的原因:
c:\>httpd Syntax error on line 56 of C:/Program Files (x86)/Zend/Apache2/conf/extra/httpd-ssl.conf: SSLSessionCache: Invalid argument: size has to be >= 8192 bytes
仍然想知道为什么这不logging到error.log ,但至less我现在有办法知道什么是错的。