刚开始是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错误日志里的,看不懂啊