apache安装好但是localhost打不开,127.0.0.1也打不开 apache 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1.打开服务检查apache是否为启动状态。2.打开httpd.conf检查DocumentRoot指定目录下是否有启动文件(index.html、index.php这种)。3.一些老式浏览器访问时,别忘了加http:// 还有看一些httpd.conf里是否有<Directory /> AllowOverride none Require all denied</Directory>有的话改成#Require all denied apche为启动状态、http://localhost/也不行DocumentRoot指定目录下有启动文件(index.html、index.php、index.htm这种) 没有错误提示,只是显示无法打开网页你的apache有启动么。。看看当前占用80端口的程序是不是apache (tasklist|findstr pid ) windows系统?看下右下解的apache图标,是不是绿色的启动状态。 免安装版的apache2.4我的httpd.conf文件下的配置如下1、ServerRoot "e:/AppServ/Apache24"2、Listen 803、ServerName localhost:804、DocumentRoot "e:/AppServ/Apache24/htdocs"<Directory "e:/AppServ/Apache24/htdocs">5、<IfModule dir_module> DirectoryIndex index.html index.php index.htm </IfModule>6、ScriptAlias /cgi-bin/ "e:/AppServ/Apache24/cgi-bin/"7、<Directory "e:/AppServ/Apache24/cgi-bin"> AllowOverride None Options None Require all granted</Directory> 简单问题,但是估计能答上的不多 感叹:“成也PHP,败也PHP” php 生成图片显示问题 PHP上传文件失败,怎么回事?我是照抄的也失败了。。 初学者简单问题:怎样取得mysql查询中一列赋值给session数组。 在线等:php中更新数据库中某一记录的语句是什么,是否需要像插入记录那样将所有字段全部填入啊 有济南搞网站建设的没?偶是小菜,想拜个老师! 火速求救(关于PHP空间问题) window 2000 server服务器,不能使用mail函数,怎么解决!?急!! 用php怎么读取一个目录的mysql数据库 我出现了这种情况,网页刷新没问题,就是点击刷新没反应 关于php计时器的问题.
2.打开httpd.conf检查DocumentRoot指定目录下是否有启动文件(index.html、index.php这种)。
3.一些老式浏览器访问时,别忘了加http://
<Directory />
AllowOverride none
Require all denied
</Directory>有的话改成
#Require all denied
http://localhost/也不行
DocumentRoot指定目录下有启动文件(index.html、index.php、index.htm这种)
你的apache有启动么。。看看当前占用80端口的程序是不是apache (tasklist|findstr pid )
免安装版的apache2.4
我的httpd.conf文件下的配置如下
1、ServerRoot "e:/AppServ/Apache24"
2、Listen 80
3、ServerName localhost:80
4、DocumentRoot "e:/AppServ/Apache24/htdocs"
<Directory "e:/AppServ/Apache24/htdocs">
5、<IfModule dir_module>
DirectoryIndex index.html index.php index.htm
</IfModule>
6、ScriptAlias /cgi-bin/ "e:/AppServ/Apache24/cgi-bin/"
7、<Directory "e:/AppServ/Apache24/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>