wamp橙色无法变绿,Apache启动不了

wamp apache无法启动的解决方法
没有更多推荐了,
加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
梦想呼唤我·····
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
阅读(7668)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
在LOFTER的更多文章
loftPermalink:'',
id:'fks_',
blogTitle:'wamp启动不了解决办法',
blogAbstract:'转自——
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}wamp apache无法启动的解决方法 - 简书
wamp apache无法启动的解决方法
如题,近日在安装wamp的时候出现了apache无法启动的情况。wamp图标一直显示橙色。网上搜索了许多资料都无效,最后还是我自己发现问题并予以解决了。
VC的问题?
我的电脑是新装的win8.1企业版。因此我怀疑是VC没有安装的缘故,因此上官网下载了这两个安装包安装,结果如故。
没有安装服务?
直接apache-&service-&remove service,再install service ,重新打开wamp,结果如故。
80端口被占用?
用apache里service的test port 80,显示Your port 80 is not actually used。在cmd里用netstat -an 查找,没有一个软件占用80端口。为保险起见修改httpd.conf文件,修改其端口为8080,重启,结果如故。
netbios解析失败?
打开网络共享中心,点击本地连接-&属性-&Internet协议版本-&属性-&高级-&WINS,勾掉启用LMHOST查找。重启服务,结果如故。
httpd.conf修改后语法错误?
新装的wamp,初始的配置文件怎么可能有语法错误……
于是把wamp卸了又装装了又卸,问题得不到解决。
换另一种方法,自己分开安装wamp。
在安装apache的时候显示找不到***文件,请检查路径之类的问题,安装程序出错,此举以失败告终。
因此我再装一次wamp,查看httpd.conf,在其中看到的路径中包含了中文名。是不是因为名称的问题导致的呢?我不敢确定,因为同样是中文路径,mysqld服务可以成功启动。
接下来的事就简单了,不过也比较刺激。因为为了解决这个问题我搜索了两天,真的只是该死的中文路径名的问题。
这次问题的解决再次提醒我注意之前多次遇到的问题,即windows下中文路径名的问题。即使转移到windows下,也不要忘了linux下良好的命名习惯呀。
拖延症患者,轻度工具控,linux爱好者,喜欢洞箫
http协议及Apache服务 http协议 什么是http? http全称为超文件传输协议(Hyper text transfer protocol),其是一个应用层协议,基于tcp的80端口,一般使用ASCII编码传输。http协议是无状态的(stateless),即服...
Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智能路由,微代理,控制总线)。分布式系统的协调导致了样板模式, 使用Spring Cloud开发人员可以快速地支持实现这些模式的服务和应用程序。他们将在任何分布式...
HTTP服务的搭建 AMP 知道了AMP是三个部分组成的 Apache:世界排名第一的服务器软件,特点是简单,速度快,性能稳定 MySQL:得益于它体积小,速度快,使用成本低。 PHP:对于前端的学习,PHP也要稍作了解。 AMP是三个独立的软件,但是对于初学者而言分别安装...
一、Nagios简介 Nagios是一款开源的电脑系统和网络监视工具,能有效监控Windows、Linux和Unix的主机状态,交换机路由器等网络设置,打印机等。在系统或服务状态异常时发出邮件或短信报警第一时间通知网站运维人员,在状态恢复后发出正常的邮件或短信通知。 Nag...
架构师必须知道的26项PHP安全实践 PHP是一种开源服务器端脚本语言,应用很广泛。Apache web服务器提供了这种便利:通过HTTP或HTTPS协议,访问文件和内容。配置不当的服务器端脚本语言会带来各种各样的问题。所以,使用php时要小心。以下是25个PHP安全方面的...
俨然是热恋中的情人在打情骂俏了
丁家洲离县城约二十里路。赧水河经过丁家洲流下去傍县城而过,走很远很远才注入洞庭湖。早年从丁家洲可以坐船去县城,但如今满河里挖沙的,淘金的,把个河道弄得坑坑洼洼,加之如今通了马路,车比船快,所以这条航路慢慢变成了历史的记忆。
丁如玉把自认...
1.重要的事情说3点,在这三点背后的作用,高效的表达能力、有效的沟通以及缜密的思考。 2.凑成3个选项,具有选择性和引导性。看似是给对方留有选择的余地,其实是每个选项具有引导性。 比如:售货员先推销贵的鞋子,“这双鞋头层牛皮做的,新上市的款式,透气舒适性很好”500元; 再...
其实,很多事情,我也是想的。
潮州有一句俗话:&潮州大厝皇宫起”全句是说潮州的大屋(豪宅)按照皇宫建造;故潮州方言说建屋为&厝&。上述&皇宫起&并非就建筑规模而言,而是指其建筑规模而言,而是指其建筑形制与装饰的。富丽堂皇可与后宫相比拟 再看看陆丰市南塘镇的夏寨村。现代建筑, 规模之大, 装饰豪华, 富丽...
东都洛阳 我出生的地方 牡丹的花香 洛河的明亮 留下了我稚嫩的声响 留下了我童年的印象 啊,,, 新乡,新乡 我的又一故乡 三年美好的时光 你见证了我的成长 我的茁壮成长 你砥砺了我的思想 磨砺了我思想的彩光 可是,,, 我还有奔跑的愿望 重新收拾好了行囊 去追求我的梦想 ...WAMP切换Apache与PHP版本后无法启动的解决方案 - 为程序员服务
WAMP切换Apache与PHP版本后无法启动的解决方案
最新的wamp支持的apache与php版本比较高,已经支持到2.4.9和5.5.12,有些程序在php5.5.12下运行不了,但好在wamp提供了多版本共存方案,只要在version里点more就可以链接到wamp官方,可以下载对应的版本
安装低版本的php,也需要对应安装apache版本,先切换php版本,再切换apache版本。
重新启动所有服务后,发现启动不了apache,也没有错误日志生成。打开windows的事件探查器,再事件探查起-&自定义视图-&管理事件中发现有很多来源于Apache Service的错误,随便打开一个看看,如下:
The Apache service named reported the following error:
&&& Syntax error on line 22 of C:/wamp/alias/phpsysinfo.conf: .
证明是alias配置的问题,打开 C:/wamp/alias/
发现有4个文件
phpmyadmin.conf
phpsysinfo.conf
sqlbuddy.conf
webgrind.conf
先打开phpmyadmin.conf看看
&Directory “c:/wamp/apps/phpmyadmin4.1.14/”&
Options Indexes FollowSymLinks MultiViews
AllowOverride all
&IfDefine APACHE24&
Require local
&/IfDefine&
&IfDefine !APACHE24&
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
&/IfDefine&
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
&/Directory&
将Deny from all改为Allow from all
在Allow from localhost ::1 127.0.0.1前面加#注释掉这行
其余三个文件也都这么干
接着打开apache的配置文件httpd.conf
&Directory /&
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
&/Directory&
依然将Deny from all改为Allow from all
再重启一下所有服务,这就可以了
您可能也喜欢:
心事浩茫连广宇 于无声处听惊雷
原文地址:, 感谢原作者分享。
您可能感兴趣的代码橙色的图标,apache突然启动不了啦,请求支援!
//apache 错误日志[Thu Jul 09 14:20:23.5] [mpm_winnt:notice] [pid 10660:tid 536] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations[Thu Jul 09 14:20:23.5] [mpm_winnt:notice] [pid 10660:tid 536] AH00456: Apache Lounge VC11 Server built: Mar 16 :59[Thu Jul 09 14:20:23.5] [core:notice] [pid 10660:tid 536] AH00094: Command line: 'D:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/wamp/bin/apache/apache2.4.9'[Thu Jul 09 14:20:23.5] [mpm_winnt:notice] [pid 10660:tid 536] AH00418: Parent: Created child process 10040[Thu Jul 09 14:20:25.5] [mpm_winnt:notice] [pid 10040:tid 452] AH00354: Child: Starting 64 worker threads.[Thu Jul 09 14:26:58.5] [mpm_winnt:notice] [pid 10660:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server.[Thu Jul 09 14:27:00.5] [mpm_winnt:notice] [pid 10040:tid 452] AH00364: Child: All worker threads have exited.[Thu Jul 09 14:27:00.5] [mpm_winnt:notice] [pid 10660:tid 536] AH00430: Parent: Child process 10040 exited successfully.[Thu Jul 09 14:27:04.5] [mpm_winnt:notice] [pid 168:tid 24] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations[Thu Jul 09 14:27:04.5] [mpm_winnt:notice] [pid 168:tid 24] AH00456: Apache Lounge VC11 Server built: Mar 16 :59[Thu Jul 09 14:27:04.5] [core:notice] [pid 168:tid 24] AH00094: Command line: 'D:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/wamp/bin/apache/apache2.4.9'[Thu Jul 09 14:27:04.5] [mpm_winnt:notice] [pid 168:tid 24] AH00418: Parent: Created child process 5124[Thu Jul 09 14:27:06.5] [mpm_winnt:notice] [pid 5124:tid 476] AH00354: Child: Starting 64 worker threads.[Thu Jul 09 14:33:16.5] [mpm_winnt:notice] [pid 168:tid 24] AH00422: Parent: Received shutdown signal -- Shutting down the server.[Thu Jul 09 14:33:18.5] [mpm_winnt:notice] [pid 5124:tid 476] AH00364: Child: All worker threads have exited.[Thu Jul 09 14:33:18.5] [mpm_winnt:notice] [pid 168:tid 24] AH00430: Parent: Child process 5124 exited successfully.[Thu Jul 09 14:33:23.5] [mpm_winnt:notice] [pid 1028:tid 528] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations[Thu Jul 09 14:33:23.5] [mpm_winnt:notice] [pid 1028:tid 528] AH00456: Apache Lounge VC11 Server built: Mar 16 :59[Thu Jul 09 14:33:23.5] [core:notice] [pid 1028:tid 528] AH00094: Command line: 'D:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/wamp/bin/apache/apache2.4.9'[Thu Jul 09 14:33:24.5] [mpm_winnt:notice] [pid 1028:tid 528] AH00418: Parent: Created child process 7808[Thu Jul 09 14:33:26.5] [mpm_winnt:notice] [pid 7808:tid 452] AH00354: Child: Starting 64 worker threads.[Thu Jul 09 14:44:44.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:50285] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:44:44.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:50285] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:44:44.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:50285] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:45:37.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:50335] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:45:37.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:50335] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:51:39.5] [authz_core:error] [pid 7808:tid 960] [client 127.0.0.1:51107] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:51:39.5] [authz_core:error] [pid 7808:tid 960] [client 127.0.0.1:51107] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:54:09.5] [authz_core:error] [pid 7808:tid 960] [client 127.0.0.1:51417] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:54:09.5] [authz_core:error] [pid 7808:tid 960] [client 127.0.0.1:51417] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:54:09.5] [authz_core:error] [pid 7808:tid 960] [client 127.0.0.1:51417] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:56:19.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:51685] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:56:19.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:51685] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:56:19.5] [authz_core:error] [pid 7808:tid 968] [client 127.0.0.1:51685] AH01630: client denied by server configuration: C:/Apache24, referer: http://test01.com/[Thu Jul 09 14:56:27.5] [mpm_winnt:notice] [pid 1028:tid 528] AH00422: Parent: Received shutdown signal -- Shutting down the server.[Thu Jul 09 14:56:29.5] [mpm_winnt:notice] [pid 7808:tid 452] AH00364: Child: All worker threads have exited.[Thu Jul 09 14:56:29.5] [mpm_winnt:notice] [pid 1028:tid 528] AH00430: Parent: Child process 7808 exited successfully.AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not existAH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist[Thu Jul 09 14:56:33.5] [mpm_winnt:notice] [pid 10972:tid 592] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations[Thu Jul 09 14:56:33.5] [mpm_winnt:notice] [pid 10972:tid 592] AH00456: Apache Lounge VC11 Server built: Mar 16 :59[Thu Jul 09 14:56:33.5] [core:notice] [pid 10972:tid 592] AH00094: Command line: 'D:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/wamp/bin/apache/apache2.4.9'[Thu Jul 09 14:56:33.5] [mpm_winnt:notice] [pid 10972:tid 592] AH00418: Parent: Created child process 4364AH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not existAH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not existAH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host.example.com] does not existAH00112: Warning: DocumentRoot [C:/Apache24/docs/dummy-host2.example.com] does not exist[Thu Jul 09 14:56:36.5] [mpm_winnt:notice] [pid 4364:tid 476] AH00354: Child: Starting 64 worker threads.[Thu Jul 09 14:56:39.5] [authz_core:error] [pid 4364:tid 984] [client 127.0.0.1:51736] AH01630: client denied by server configuration: D:/MOOC/test01/[Thu Jul 09 14:56:46.5] [authz_core:error] [pid 4364:tid 984] [client 127.0.0.1:51751] AH01630: client denied by server configuration: D:/MOOC/test01/[Thu Jul 09 15:03:30.5] [authz_core:error] [pid 4364:tid 984] [client 127.0.0.1:52563] AH01630: client denied by server configuration: D:/MOOC/test01/[Thu Jul 09 15:03:32.5] [authz_core:error] [pid 4364:tid 984] [client 127.0.0.1:52563] AH01630: client denied by server configuration: D:/MOOC/test01/[Thu Jul 09 15:03:32.5] [authz_core:error] [pid 4364:tid 984] [client 127.0.0.1:52563] AH01630: client denied by server configuration: D:/MOOC/test01/[Thu Jul 09 15:03:32.5] [authz_core:error] [pid 4364:tid 984] [client 127.0.0.1:52563] AH01630: client denied by server configuration: D:/MOOC/test01/[Thu Jul 09 15:03:34.5] [authz_core:error] [pid 4364:tid 984] [client 127.0.0.1:52563] AH01630: client denied by server configuration: D:/MOOC/test01/[Thu Jul 09 15:03:39.5] [mpm_winnt:notice] [pid 10972:tid 592] AH00422: Parent: Received shutdown signal -- Shutting down the server.[Thu Jul 09 15:03:41.5] [mpm_winnt:notice] [pid 4364:tid 476] AH00364: Child: All worker threads have exited.[Thu Jul 09 15:03:41.5] [mpm_winnt:notice] [pid 10972:tid 592] AH00430: Parent: Child process 4364 exited successfully.
写下你的评论...
Copyright (C) 2018 imooc.com All Rights Reserved | 京ICP备 号-11

我要回帖

更多关于 wamp启动为橙色 的文章

 

随机推荐