先把我的配置和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查看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"查看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系统

DependencyInjection(DI)inPHPenhancescodeflexibilityandtestabilitybydecouplingdependencycreationfromusage.ToimplementDIeffectively:1)UseDIcontainersjudiciouslytoavoidover-engineering.2)Avoidconstructoroverloadbylimitingdependenciestothreeorfour.3)Adhe

ToimproveyourPHPwebsite'sperformance,usethesestrategies:1)ImplementopcodecachingwithOPcachetospeedupscriptinterpretation.2)Optimizedatabasequeriesbyselectingonlynecessaryfields.3)UsecachingsystemslikeRedisorMemcachedtoreducedatabaseload.4)Applyasynch

Yes,itispossibletosendmassemailswithPHP.1)UselibrarieslikePHPMailerorSwiftMailerforefficientemailsending.2)Implementdelaysbetweenemailstoavoidspamflags.3)Personalizeemailsusingdynamiccontenttoimproveengagement.4)UsequeuesystemslikeRabbitMQorRedisforb

DependencyInjection(DI)inPHPisadesignpatternthatachievesInversionofControl(IoC)byallowingdependenciestobeinjectedintoclasses,enhancingmodularity,testability,andflexibility.DIdecouplesclassesfromspecificimplementations,makingcodemoremanageableandadapt

The best ways to send emails using PHP include: 1. Use PHP's mail() function to basic sending; 2. Use PHPMailer library to send more complex HTML mail; 3. Use transactional mail services such as SendGrid to improve reliability and analysis capabilities. With these methods, you can ensure that emails not only reach the inbox, but also attract recipients.

Calculating the total number of elements in a PHP multidimensional array can be done using recursive or iterative methods. 1. The recursive method counts by traversing the array and recursively processing nested arrays. 2. The iterative method uses the stack to simulate recursion to avoid depth problems. 3. The array_walk_recursive function can also be implemented, but it requires manual counting.

In PHP, the characteristic of a do-while loop is to ensure that the loop body is executed at least once, and then decide whether to continue the loop based on the conditions. 1) It executes the loop body before conditional checking, suitable for scenarios where operations need to be performed at least once, such as user input verification and menu systems. 2) However, the syntax of the do-while loop can cause confusion among newbies and may add unnecessary performance overhead.

Efficient hashing strings in PHP can use the following methods: 1. Use the md5 function for fast hashing, but is not suitable for password storage. 2. Use the sha256 function to improve security. 3. Use the password_hash function to process passwords to provide the highest security and convenience.


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

Atom editor mac version download
The most popular open source editor

Dreamweaver Mac version
Visual web development tools

SublimeText3 Chinese version
Chinese version, very easy to use

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version
Recommended: Win version, supports code prompts!
