wamp无法启动了,然后发现apache也没有启动

php中文网
发布: 2016-06-23 14:12:05
原创
1479人浏览过

刚开始是apache403错误,然后在配置文件里吧   先检查apache配置文件httpd.conf,
     找到 deny from all 改成  allow from all
     phpmyadmin里的deny也改了,
     然后wamp无法启动了,
     在更改>internet协议(TCP/IP)->属性->高级->wins标签->去掉启用

LMhosts查询前的勾.  检查了半天,80端口没有被占用,apache也没启动
在cmd里运行httped.exe 显示:Invalid command 'Order', perhaps misspelled or defined by a module not included
in the server configuration

 查了一下说是是因为模块 authz_host_module 没有加载,或者出错的原因

解决办法,加载,或者找一个正确的覆盖

LoadModule authz_host_module modules/mod_authz_host.so


怎么加载呢?是写在httpd.conf里么?


回复讨论(解决方案)

是的。。是添加在配置文件中,你可以找一下自己安装的教程先看一下。就知道了

在 httpd.conf 中找到 LoadModule authz_host_module modules/mod_authz_host.so(79行附近)
去掉前面的 # 号

直接去#就可以了..

前面没有#号呀,这是什么问题呢??

[Mon Jun 03 00:14:46 2013] [notice] Apache/2.2.22 (Win64) PHP/5.4.3 configured -- resuming normal operations
[Mon Jun 03 00:14:46 2013] [notice] Server built: May 13 2012 19:41:17
[Mon Jun 03 00:14:46 2013] [notice] Parent: Created child process 1436
[Mon Jun 03 00:14:46 2013] [notice] Child 1436: Child process is running
[Mon Jun 03 00:14:46 2013] [notice] Child 1436: Acquired the start mutex.
[Mon Jun 03 00:14:46 2013] [notice] Child 1436: Starting 64 worker threads.
[Mon Jun 03 00:14:46 2013] [notice] Child 1436: Starting thread to listen on port 80.
[Mon Jun 03 00:14:46 2013] [notice] Child 1436: Starting thread to listen on port 80.
[Mon Jun 03 00:14:55 2013] [error] [client ::1] client denied by server configuration: F:/programer/wamp/apps/phpmyadmin3.5.1/
[Mon Jun 03 00:14:55 2013] [error] [client ::1] client denied by server configuration: F:/programer/wamp/www/favicon.ico
[Mon Jun 03 00:16:07 2013] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jun 03 00:16:07 2013] [notice] Child 1436: Exit event signaled. Child process is ending.
[Mon Jun 03 00:16:08 2013] [notice] Child 1436: Released the start mutex
[Mon Jun 03 00:16:09 2013] [notice] Child 1436: All worker threads have exited.
[Mon Jun 03 00:16:09 2013] [notice] Child 1436: Child process is exiting
[Mon Jun 03 00:16:09 2013] [notice] Parent: Child process exited successfully.


apache错误日志里的,看不懂啊

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号