找到 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错误日志里的,看不懂啊
