Pages: 12Next
Current Page: 1 of 2
Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 17, 2008 04:49PM

When I go to local host I see the message. Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

Following instruction in a recent post. For people how have a problem with localhost
go to run and type cmd.exe
then type
C:\wamp\bin\apache\apache2.2.8\bin\httpd.exe
or whatever yours is
and read the errors.

I did that

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Robert W. Caldwell>C:
httpd.exe
(OS 10048)Only one usage of each socket address
is normally permitted. : make_sock: could not
no listening sockets available, shutting down
Unable to open logs

C:\Documents and Settings\Robert W. Caldwell>

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: April 17, 2008 04:55PM

something is bloacking port 80..

u have skype? a firewall? or anything else that wud use ports open etc

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: yfastud (Moderator)
Date: April 17, 2008 05:21PM

Red icon means no service running at all, so make sure to set your firewall allow Wamp and Aestan Tray Menu

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 17, 2008 09:57PM

How do I see the ports and what's on them. How do I go about allowing particular things. I searched internet option, windows firewall, and all over.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (193.120.116.---)
Date: April 17, 2008 10:02PM

just switch apache to work on port 8080 first to see it that worlks. Goto c:/wamp/bim/apache/apache/conf open httpd.conf and chamge listen 80 to listen 8080 then retstart wwamp and see if it goes white

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (193.120.116.---)
Date: April 17, 2008 10:26PM

just switch apache to work on port 8080 first to see it that worlks. Goto c:/wamp/bim/apache/apache/conf open httpd.conf and chamge listen 80 to listen 8080 then retstart wwamp and see if it goes white

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 17, 2008 11:12PM

At least it's not red any more, but it is yellow. So something is still wrong.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: April 17, 2008 11:24PM

yes mysql is not running now...

it looks like uv another server installed.. probably microsof iis. ur best to disable this. ul find some setting in control panel or on the start menu under asministraion


u can also change mysqls port number...


its in c:/wamp/bin/mysql in a file called my or my.ini

the port is 3306

its written in the file 3 times

change hem all to 3307




please note i recommend disabling the other server and using the orginal wamp setup.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 18, 2008 12:43AM

First I turned off ISS. That didn't fix it so I changed the number as well. Now I try to run a php file and I get an error message saying: Unable to connect

Firefox can't establish a connection to the server at localhost.

* The site could be temporarily unavailable or too busy. Try again in a few
moments.

* If you are unable to load any pages, check your computer's network
connection.

* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (193.120.116.---)
Date: April 18, 2008 06:18AM

your forgetting ur changes u made . Files are now connectted to at http ://localhost:8080/yourfile.php

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (193.120.116.---)
Date: April 18, 2008 06:21AM

your forgetting ur changes u made . Files are now connectted to at http ://localhost:8080/yourfile.php

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 18, 2008 02:49PM

I tried typing into the browser the address you gave and It does a search and displays a bunch of results. If I go to the wamp icon and click on local host I get the same error message printed above. I am totally lost now.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: April 18, 2008 03:05PM

u didnt type it in right,,,


h t t p : / / l o c a l h o s t : 8 0 8 0 / t h e n a m e o f y o u r p h p f i l e . p h p


localhost:8080/yourphpfile.php

take out all the spaces and change t h e n a m e o f y o u r p h p f i l e to the name of urs


if it doesnt work u shud get wat u got before. not a search



Edited 1 time(s). Last edit at 04/18/2008 03:09PM by stevenmartin99.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 18, 2008 04:25PM

[localhost] is what I put in. It's supposed to display information about php but instead I get a blank page.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 18, 2008 04:27PM

I tried index.php now I get something and can go to phpinfio in that file. But why didn't the one I added work?

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: April 18, 2008 04:29PM

a blank page is different to a 404 error page created by the browser.


is the wamp icon definitlty white?

go into ur httpd.conf file again



down futher there is a section


Servername localhost


change it to

Servername localhost:8080


clear ur browser history restart wamp and try it again

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: April 18, 2008 04:30PM

did u just make a blank file called phpinfo.php?



there needs to be stuff in this file .. phpinfo.php is in the folder i think with wamp as default

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: rwc3512 (---.al.charter.com)
Date: April 18, 2008 04:51PM

Maybe part of it is an off white.

I changed the server name.

The file is not blank. it has the code <? phpinfo(); ?> in it. It still appears blank.

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: April 18, 2008 05:00PM

this is wrong

use

<?php phpinfo(); ?>



u need to enable short tags for urs to work

Options: ReplyQuote
Re: Just installed Wamp Server and I have red in the icon.
Posted by: yfastud (Moderator)
Date: April 18, 2008 05:16PM

To add to Steven's suggestion, edit this line in httpd.conf

Find:
listen 80

Change to:
listen 8080

Save file, restart wamp, then try:
"[];
"[localhost];

Post back here what you get

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.