Jump to content

Installing Apache


hrsmith

Recommended Posts

In your apache config, what do you have DocumentRoot set to and what kind of index file do you have in that directory?

 

I would make sure you have an index.html in that directory with some simple text as it's contents, like "Hello World" or something.

Link to comment
Share on other sites

Hum. Well, if it's coming up with a "page could not be displayed" then it's definitely finding apache. How far through the tutorial did you get? If you have already done the PHP portion, it could be that causing problems too. Are you absolutely sure you didn't change anything else in the htdocs.conf file?

 

The only other things I can think of...

-Try rebooting your system, windows can funky like that.

-Try uninstalling/reinstalling Apache. I follow that tutorial every time I install apache/PHP and have never had a problem

-Get rid of the custom Apache install and just use WAMP: http://www.wampserver.com/en/

 

Link to comment
Share on other sites

Not sure whats going on, your configuration works fine for me. I'd say uninstall Apache, after Apache has been uninstalled delete the Apache Software Foundation folder from C:\Program Files if is left over and then reinstall Apache.

 

If still doesn't work, open the httpd.conf and goto line 53 which should be this:

Listen 80

and change 80 to 8080

then scroll down go to line 145 which should be this:

ServerName localhost:80

Change :80 to :8080

 

Save your httpd.conf and restart Apache. Open your browser and go to http://localhost:8080/ is anything displayed now?

Link to comment
Share on other sites

I tried uninstalling and reinstalling and it hasn't worked  :(

 

where is cmd netstat?

 

Start -> Run

Type in 'cmd' (no quotes though) and click OK

In the new window, type 'netstat' (again no quotes) and hit Enter

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.