logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: installed, but no "it works" page
Author
uberm0nkey



Joined: 28 Oct 2006
Posts: 3

PostPosted: Sat 28 Oct '06 22:02    Post subject: installed, but no "it works" page Reply with quote

Hi All,

I've been poking around the forums for an answer to this problem and haven't found anything yet.

I've installed Apache 2.2.3 on WinXP SP2, and the installation process went fine, but when I try to test the installation at http://localhost, both Firefox and IE fail to recognize the file type being served. I'm 100% new to Apache, but my guess is that Apache is not parsing the PHP into a form the browser can understand.

The browsers ask me what application I want to use to read the file, or do I want to save it to disk.

I checked the httpd.config file and added the

EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx

mentioned in the troubleshooting guide, but no change. I'm not seeing anything odd in the error log, either.

Any thoughts or suggestions? Could this be firewall or spyware-related?

Thanks!
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3057
Location: Hilversum, NL, EU

PostPosted: Sat 28 Oct '06 22:20    Post subject: Reply with quote

Did you follow the guide from "pnllan" at www.apachelounge.com/viewtopic.php?t=570 ?
Back to top
djbranson



Joined: 22 Oct 2006
Posts: 8
Location: Lubbock, Texas

PostPosted: Sat 28 Oct '06 23:10    Post subject: similar results before clearing IE buffer Reply with quote

I had similar results until I went into IE Internet Options and Deleted All Files in the Temporary Internet folder. Then it worked.
Back to top
uberm0nkey



Joined: 28 Oct 2006
Posts: 3

PostPosted: Sat 28 Oct '06 23:16    Post subject: Reply with quote

I tried to uninstall Apache according to the pnallen instructions, but the "httpd -k uninstall" section didn't work -- it said there was no "Apache2" service running.

Should I just do a Windows uninstall? Or should I try to track down what is using port 80, since that seems to be a common culprit?

I have, btw, run a "netstat -b" and nothing was shown using the port 80. I don't have Skype or any similar program running. Maybe my firewall or antivirus/spyware programs? But I'm not sure how to find out.

Thanks again for your help.
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Sun 29 Oct '06 0:43    Post subject: Reply with quote

Go to services.msc, Is Apache2 listed there?

Are you having a Port 80 issue? or are you supposing that an issue? Which makes no sense at least as far as your first post indicates.

In your first post, you state the problem is PHP is not being processed by Apache (the dialog box asking which application you want to open it with). Is that the issue or not? If so continue reading, otherwise, please re-state the problem you are having.

If Apache2 is not listed in the Service MSC, then that means the Apache service is not currently install. Therefore, continue with the procedure that Steffen directed you to follow. If you have issues after following that exactly as described, then post what the issues or questions are.

Either way, let us know how it turns out.
Back to top
uberm0nkey



Joined: 28 Oct 2006
Posts: 3

PostPosted: Sun 29 Oct '06 18:38    Post subject: Reply with quote

My original post described the initial symptom accurately -- I would go to localhost, and would be prompted to choose a helper application.

My confusion with the port 80 issue was that I ran the "httpd" again, and got the "port 80 is unavailable" error. What I realize now is that Apache was using port 80, and could not use it for a second service. My fault.

Anyway, I completely removed the old installation according to pnllen's instructions, installed the MS visual C++, and installed from the zip file according to the instructions.

I was able to start the service from the DOS prompt. I tested http://localhost, and got the same prompt for a helper application. But I can start and stop the service from the DOS prompt with no problem.

I haven't moved on to the PHP installation because my installation fails this test.

What should I try next?
Back to top


Reply to topic   Topic: installed, but no "it works" page View previous topic :: View next topic
Post new topic   Forum Index -> Apache