简体   繁体   English

Apache意外关闭httpd.conf问题

[英]Apache shutdown unexpectedly httpd.conf problem

I have xampp installed on windows 10 it was working perfect until yesterday , and my problem doesn't related with "port" it's about httpd.conf can anyone please share httpd.conf from xampp 3.2.2 我在Windows 10上安装了xampp,直到昨天为止,它都能正常运行,而我的问题与“端口”无关,它与httpd.conf有关,任何人都可以从xampp 3.2.2中共享httpd.conf。

C:\xampp\apache\bin> .\httpd.exe
    AH00526: Syntax error on line 168 of C:/xampp/apache/conf/httpd.conf:
    Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
8:29:28 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
8:29:28 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
8:29:28 PM  [Apache]    Press the Logs button to view error logs and check
8:29:28 PM  [Apache]    the Windows Event Viewer for more clues
8:29:28 PM  [Apache]    If you need more help, copy and post this
8:29:28 PM  [Apache]    entire log window on the forums```

the error is the use of "order" in line 168 in httpd.conf file. 错误是在httpd.conf文件的第168行中使用了“ order”。 are you using "order allow, deny"? 您是否在使用“允许订单,拒绝”? it dont work in newer editions. 它在新版本中不起作用。 try changing it to "Require all granted" 尝试将其更改为“要求所有授予”

AllowOverwrite All Require all granted AllowOverwrite All需要全部授予

and nothing else 没什么

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM