Jump to content

Recommended Posts

apache monitor lists an instance of Apache2.2 and has the green active symbol next to it.

 

when I go to http://localhost/ it tries to connect for ages and then comes up with the page could not be displayed page (it does the same if i try http://127.0.0.1/

Link to comment
https://forums.phpfreaks.com/topic/93690-installing-apache/#findComment-480067
Share on other sites

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
https://forums.phpfreaks.com/topic/93690-installing-apache/#findComment-480090
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
https://forums.phpfreaks.com/topic/93690-installing-apache/#findComment-480121
Share on other sites

I just tried rebooting the system and trying again.  It seems that http://localhost/ is just giving up and leaving the previous page there as when i just tried it has the new tab page after it had stopped.  I had already installed php before i installed apache I didn't change anything at all in htdocs.conf

Link to comment
https://forums.phpfreaks.com/topic/93690-installing-apache/#findComment-480205
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
https://forums.phpfreaks.com/topic/93690-installing-apache/#findComment-480857
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.