apache安装后运行正常,为什么在此服务下网页打不开
先把我的配置和apache的错误分析说下,最后就是请各位看下我遗漏了什么地方了,帮我解决这个问题
1:配置:win2003+mysql+php+iis+apache 机器上还安装了.net3.5+mssql
杀毒的软件只有卡巴(其实我已经停了,并退出了)
apache的端口配置: Listen 80 iis的80端口一直是停用的
目录: DocumentRoot "d:/wamp/www/"
几个月前我是手动配置的有点问题,也出现了网页打不开,网页一直是在加载中,后来我把360safe给卸了,讯雷也给卸了,卡巴给停了,就可以了
现在是停了卸了也不行,就换了wampserver2.0,但是还是不行,所以我这里就判断问题是出在apache上了,如不对,请指出
2:继续分析
netstat -ano|findstr 80
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4768
TCP 127.0.0.1:80 127.0.0.1:2193 ESTABLISHED 4768
TCP 127.0.0.1:2193 127.0.0.1:80 ESTABLISHED 5172
TCP 127.0.0.1:30523 0.0.0.0:0 LISTENING 1804
tasklist /fi "PID eq 4768"
映像名称 PID 会话名 会话# 内存使用
========================= ======== ================ =========== ============
httpd.exe 4768 Console 0 14,796 K
到这里应该是没有错的,我看了任务管理器里的进程是对的,有两个httpd.exe进程,这个是apache特有的两个进程,没有问题的
到了这里我怎的找不出是什么问题了,请各位帮忙,谢谢
回复讨论(解决方案)
windows防火墙的规则有没有允许80端口通过,或者是apache的httpd.exe程序通过?
CunningBoy
防火墙关了,杀毒的软件全退了。。。这个忘记在上面说了。
卸载Apache,重装试试。
问题很奇怪
重新安装apache,要不你把所有的LAMP都重新在安装一下吧。
试过.html的文件吗?看下 .html的能否打开
iis 和 Apache 能同时使用吗?
应该是顿口被占了
把Apache端口改成82试试
iis 和 Apache 能同时使用吗?
应该是顿口被占了
把Apache端口改成82试试
你可以再DOS下启动一下Apache
看输出什么错误
打不开的原因,好像就是你的服务器被战用了,其它的服务器的端口也是80的。你需要做的是将其它一切有可能的服务器关掉。然后重启。
IIS和Apached都是服务器哦!!!
IIS和Apache共存是没有问题的,只要其中的应用端口不冲突。
迅雷开着的话有可能出这种问题,现在都卸了应该不是迅雷的问题;系统自带的防火墙关闭没有?
可以给Apache设置其他的端口试试看。
实在不行,就装个2008Server,装个PHP的插件IIS就可以直接运行PHP了,既然在Windows下,就用IIS吧。
用.html的网页一直都是在加载中。。。防火墙都关了,悲剧的不行了
现在我都卸了,改用php+iis+mysql了,不用Apache,以后再解决这个问题吧。
用.html的网页一直都是在加载中。。。防火墙都关了,悲剧的不行了
现在我都卸了,改用php+iis+mysql了,不用Apache,以后再解决这个问题吧。
?,就这样放弃了。
iis跟apache是重叠的,把iis卸掉,启动apache,查看mysql数据库跟apache服务器的服务(控制面板/管理工具/服务)有没有打开。
端口被占用了吧
打不开的原因,好像就是你的服务器被战用了,其它的服务器的端口也是80的。你需要做的是将其它一切有可能的服务器关掉。然后重启。
++++++++++++
应该是80端口被其他程序占用了.
http://www.newsmth.net/pc/pccon.php?id=7204&nid=377140&order=&tid=0
iis+apache?
同样的东西为什么都要安装?建议楼主把所有环境都卸载以后重头开始重新安装,建议你安装xampp
skype有可能会占用80端口。。。。不知道楼主用skype了没?
w7系统有iis功能冲突,关闭iis就可以了。
apache打不开怎么办windows7系统

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Alipay PHP...

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

Sending JSON data using PHP's cURL library In PHP development, it is often necessary to interact with external APIs. One of the common ways is to use cURL library to send POST�...
