I Downloaded Wamp server 2.0 for my php and mysql installation.
When i click on the wamp server through start/programs/wampserver/startwampserver2.0 it just has an icon 'start wamp server 2.0',is it the right file i downloaded?isnt it supposed to contain other clickable icons like phpmyadmin,mysql,apache ??

Secondly,do i need to download PHP and MYSQL and Apache to configure my php/mysql installation framework with this wamp server 2.0?

Thirdly, how do i configure all to synchronise with my wamp server.

Finally,When i type http://localhost/ on my default browser it brings out this message;

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
is that correct??

The major problem im having is installing php,apache,mysql and configuring it to work together so i can start building my development environment and thats what i need help in.

Recommended Answers

All 13 Replies

I have never used the WAMP server. But I have installed Apache 2.2, MySQL & PHP onto an XP machine and a LINUX (debian) box. The Linux machine was a whole load easier to install. :)

Let me know if you want a quick rundown of the steps to take, though there are many sets of instructions for you on the intrawebby thing.

I Downloaded Wamp server 2.0 for my php and mysql installation.
When i click on the wamp server through start/programs/wampserver/startwampserver2.0 it just has an icon 'start wamp server 2.0',is it the right file i downloaded?isnt it supposed to contain other clickable icons like phpmyadmin,mysql,apache ??

Secondly,do i need to download PHP and MYSQL and Apache to configure my php/mysql installation framework with this wamp server 2.0?

Thirdly, how do i configure all to synchronise with my wamp server.

Finally,When i type http://localhost/ on my default browser it brings out this message;

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
is that correct??

The major problem im having is installing php,apache,mysql and configuring it to work together so i can start building my development environment and thats what i need help in.

After downloading WAMP. You should click on it to install it.

During installation, it should ask if you want to have a desktop icon added and other start options. That is the only you get start icons and what not.

You should be able to just click on the WAMP start icon, either through the start menu, or which ever choice you made, and it will come on and be active in the taskbar tray on the bottom right (whatever its called).

The icon in this tray is the only clickable part of the WAMP program. You can right click or left click on it for different options such as configurations of apache and mysql, consoles, start restart of services, etc.

You don't have to install mysql or apache seperately. WAMP installs those, as well as PHPMyAdmin and other tools if you choose.

It looks like you're getting Apache to run, since you can access localhost.

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

That is odd, since default Apache should have listed the directory. However, WAMP may have changed this since my last install.

Here is the docs on enabling directory listings:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#indexes
http://httpd.apache.org/docs/1.3/mod/core.html#options

Look in the httpd.conf file for the above.
Or you could paste your httpd.conf contents here and someone could help you out.

The other possibility, is if you have another web server running? Do you happen to have IIS? Cause that would stop Apache from starting since it would require the same port (80).

I have never used the WAMP server. But I have installed Apache 2.2, MySQL & PHP onto an XP machine and a LINUX (debian) box. The Linux machine was a whole load easier to install. :)

Let me know if you want a quick rundown of the steps to take, though there are many sets of instructions for you on the intrawebby thing.

Yes ill appreciate if you give me a rundown of the steps to take in instaling them esp for windows as im using a windows os.Then does the SQL Query Browse come with the sql package and is it necessary?what is it used for?how can i download it?

WAMP should just work, right out of the box. Either your installation did not complete or possibly you have some installation of apache that is running? Did you try installing apache by itself prior to downloading wamp?

Personally i prefer WAMP ove XXAMP because the prior updates their packages alot faster, but you can try xampp as well http://www.apachefriends.org/en/xampp.html. Just make sure you dont have a bunch of different apache installations all fighting over the same localhost space.

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

The message you're getting is specific to IIS. So you'll have to disable IIS in order to have Apache run, since they use the same port and domain by default.

The other option is to configure one of those to use a different port or different domains.

Only after you've disabled IIS would you know whether or not WAMP installed correctly. At the moment, all you're looking at is IIS.

The message you're getting is specific to IIS. So you'll have to disable IIS in order to have Apache run, since they use the same port and domain by default.

The other option is to configure one of those to use a different port or different domains.

Only after you've disabled IIS would you know whether or not WAMP installed correctly. At the moment, all you're looking at is IIS.

Thanks, your reply to my thread is highly valuable.I think the problem is the IIS which as you rightly said is still installed on my computer.How can i uninstall it? or how do i configure it to a different port or domain?

Thanks, your reply to my thread is highly valuable.I think the problem is the IIS which as you rightly said is still installed on my computer.How can i uninstall it? or how do i configure it to a different port or domain?

I've never used IIS. Probably the best place to look is their documentation.

I would assume that IIS would be running as a service, so you could manually remove it from the services list.
run the command "msconfig" in the windows command prompt. Go to the services tab, and find the IIS service and disable it.

Or you can disable the service from the command line if you know the name. I think it would be:

net stop {service}

Where {service} is the name of the service.

If there is a user interface for IIS, then you could probably stop and start it there also.

I've never used IIS. Probably the best place to look is their documentation.

I would assume that IIS would be running as a service, so you could manually remove it from the services list.
run the command "msconfig" in the windows command prompt. Go to the services tab, and find the IIS service and disable it.

Or you can disable the service from the command line if you know the name. I think it would be:

net stop {service}

Where {service} is the name of the service.

If there is a user interface for IIS, then you could probably stop and start it there also.

If you want to configure Apache to use a different port, then you need to edit the http.conf file.

You will find a line (directive) that starts with "Listen" and should have an IP and port after it, or just a port.

eg:

Listen 80

That would be the default setup with WAMP. You can change this to any port, given it isn't already bound to a service.

eg:

Listen 8080

You would then be able to access it from the browser as:

http://localhost:8080/

Finding http.conf

If you can't find the Apache config file (httpd.conf), try looking under:

c://wamp/bin/apache/apache{version}/conf/

This is the default folder structure WAMP installs apache in.

c://wamp/bin/apache/apache{version}/

Since WAMP can install multiple versions of Apache, you have the version number.

Then under each apache version, you have the conf/ directory, which contains the http.conf file.

when you have installed WAMP, you already have apache, mysql, and php installed.. and no you don't need to install again apache, mysql, and php.. now, IIS does not have something to do with that(Directory Listing Denied) because I myself have IIS and WAMP installed and running at the same time but on different port and even though they are running on the same port, that's not the error that is expected..... You have to do re-installation.. uninstall your WAMP.. if you have installed, Apache and PHP and MySQL manually I suggest uninstall them all.... Now after doing that, install WAMP only.. after installing wamp, that's it you have your server configured and good to go.

now, IIS does not have something to do with that(Directory Listing Denied) because I myself have IIS and WAMP installed and running at the same time but on different port and even though they are running on the same port, that's not the error that is expected.....

The message "Directory Listing Denied" is specific to IIS.

Apache gives the message:

Forbidden

You don't have permission to access / on this server.

Neither of these are error messages. They occur when a webserver is configured to disallow directory indexes. (ie: you do not want to display your directory structure)

It is just a coincidence that IIS is configured this way, and it looks like an error. The actual problem with Apache is unrelated to the IIS message. But the message does show that IIS is using port 80 on the localhost. This causes Apache to fail on startup.

You should find the error message in the Apache logs. It should say that Apache failed to bind to the network address, and then it should have a "Stopping Service" message or something similar.

At this point you cannot tell if WAMP installed successfully, that is also unrelated to the IIS message. It is most likely that WAMP installed successfully, but only Apache cannot start, since IIS is using port 80 on localhost.

I think the best option is to figure out if WAMP installed successfully or not.

If WAMP installed, it should create icons depending on your choices: desktop icon, taskbar icon, start menu entry etc.
If you have any of these, start WAMP using it.

When wamp starts, it starts a status icon on the right hand of the windows taskbar. This means WAMP is running, but it doesn't mean Apache, or MySQL etc. are operational (though usually they are).

If you click on the WAMP status icon, it should give you a menu. If you get to this menu, then WAMP was installed successfully, you just need to configure Apache to work with IIS or remove IIS.

The other way to see if WAMP installed successfully it to find the list of services that WAMP registers.

On XP, and Vista, you can do this by opening the command prompt and typing in:

sc query state= all

See if wampapache, and wampmysqld are registered services, they should be listed. If they are not listed, then WAMP did not install correctly.

If they are listed, but their status is stopped, then you need to start WAMP. After starting WAMP, you most likely will have the wampmysqld (WAMP MySQL Deamon) running, but Apache will still be stopped since you have the problem with IIS.

Then you just need to configure Apache or IIS as mentioned. Then stop and restart WAMP, or just Apache, through the WAMP menu. Do this until you get the Apache Service running.

Then you should be able to access the pages served by Apache through the browser.

Sorry for the length of the post.

Hi, I need to know how I can uninstall what seems to be a 64bit wampserver2.0i installation off a 32bit windows7,the current installation won't connect and won't uninstall by regular methods.

What is the result of regular methods uninstall? And what are you implying by "regular methods" If you are referring to trying to uninstall it from the windows Control Panel Programs and Features list then is the wampserver software listed in this list? Also it would help to know what the result is if you try doing a uninstall if it is listed. I might also ask how you know the 64bit wampserver is installed if it's not connecting? Can you locate the folder the wampserver is installed in? If so there should be an uninstall app in that folder that should still work. Let me know if this helps?

Why are you resurrecting a thread which is now 2 months old?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.