14

For wamp 2.5 on Windows, use a text editor, e.g. notepad++ to edit c:\wamp\bin\apache\apache2.4.9\conf\httpd.conf Change DocumentRoot "c:/wamp/www" to DocumentRoot "c:/my/new/path" (Note slash direction). This will change the location where files are served from (~Line 230). Change <Directory "c:/wamp/www"> to <Directory "c:/my/new/path"> (Note ...


5

Click on Green Wamp Icon (Taskbar right Notification Icons) > Apache > httpd.conf > Replace all ${INSTALL_DIR}/www with your directory. Take care to use / instead of \ Click on Green Wamp Icon > Apache > httpd-vhosts.conf > Replace again the existing "www"-Directory with yours Click on Green Wamp Icon > "Restart All Services" (Tested on Windows 10, ...


5

In WAMPServer 3, it is in the same place it has always been. You left click the wampmanager icon in the system tray and you will see this menu appear Just like before its called MySQL console


4

For wamp 2.5 on Windows, use a text editor, e.g. notepad++ to edit c:\wamp\bin\apache\apache2.4.9\conf\httpd.conf Change DocumentRoot "c:/wamp/www" to DocumentRoot "c:/my/new/path" (Note slash direction). This will change the location where files are served from (~Line 230). Change <Directory "c:/wamp/www"> to <Directory "c:/my/new/path"> (Note ...


3

I was thinking that if it were just a caching problem, the old version of file should be show in "view source", shouldn't it? View Source will actually show you the new version of the file, not the old version. Chrome and Firefox both refresh the resource when you View Source, which means you would see the new version. To ensure you always get the fresh ...


3

I've just noticed @dan's comment above. If /test/ is indeed an Apache Alias, as set by WAMPServer, then the DirectorySlash may not be the problem after all. Both solutions are presented below. DirectorySlash directive You need to set DirectorySlash On in your Apache config (or .htaccess). This instructs mod_dir to implicitly append a slash in the case you ...


2

After doing the above, you can also change the: in the of wamp directory (wampmanager.ini, wampmanager.conf). php.ini my.ini Save your changes and close Wampserver.


2

You should really solve this by setting the DocumentRoot correctly on your local test server. Perhaps setup a VirtualHost for this test site, rather than changing your default server config if you are testing several sites? It is a local test server, so should reflect the settings of the live site as close as possible. However, it is possible (but not ...


2

When the WAMP icon turns orange it means that it wasn't able to start up properly. You say that you made a configuration change just before it turned orange. It sounds like you broke the Apache configuration when you added the alias. Although it is likely not to be the same exact problem you have here is a report from somebody who fixed the orange WAMP ...


2

I got it to work. First, I restarted the PC and then did the following: pressed Win + R (or go to start -> run) then write "services.msc" and open it find wampapache -> right click and start (or restart) find wampmysqld -> ight click and start (or restart) this forced the services to start, despite the fact that trying to start them from the wampserver ...


2

If you want to access the MySQL console for Wampserver... Run cmd command Type c: or d: on command prompt. This will depend on where your wampserver is installed. Assuming you have installed wamp on D: drive: D:\ > cd wamp D:\wamp > cd bin D:\wamp\bin > cd mysql D:\wamp\bin\mysql > cd {whatever version of mysql is installed check folder} D:\wamp\...


1

I made it work thanks adding solution if someone need it: I added MultiViews under FollowSymLinks it doesn't work on the top of the .htaccess: Options +FollowSymLinks Options -MultiViews RewriteEngine On I changed search term q to c, it shouldn't make a difference but it does, I don't understand why anyone with knowledge can explain beter.lol. categories....


1

Also, if you are using PHP, you can put this code: "?v=<?php echo time(); ?>" in case of the link tag, at the final of the href param like this example: "<link rel='stylesheet' href='./inc/mystyle.css?v=<?php echo time(); ?>'>" that will result in your code something like this: "<link rel='stylesheet' href='./inc/mystyle.css?v=1553116856>" ...


1

I found that if you call up the specific document (localhost/example/cssfile.css) in yuor browser, then "refresh" it, the document changes will update and take effect. Not sure if this is a Window's glitch, or a WAMP glitch. But that has consistantly resolved the problem for me.


1

Turns out for some reason my cable modem blocks 8080. I am assuming it must be reserved for another service higher in the list. I had to figure this out on my own as comcast still says it is not blocked. I changed 8080 to 8181 and kept all other settings and it worked fine. Thanks for all the help.


1

the server's index file which shows the list of all the projects is also accessible. What I want is to be only able to view it from local machine, not from others. Others can only access the index files found in the projects not the one on the root server. From your comments, it would seem you are referring to the physical file index.php residing in the ...


1

Edit %SystemRoot%\system32\drivers\etc\hosts and replace ::1 localhost with 127.0.0.1 localhost Save and restart apache. Hope it will work .


1

i just found why i was not getting it. click on wamp icon and go to phpmyadmin and click on database where u can see a database called mysql. So add database name as : mysql and username :root , password: leave as blank , admin and password : anything u wish. Maybe this is very simple .Posting it for starters who are stuck here.


1

Please reverse everything you have done thus far. Please uninstall IIS Server using Programs and Features, until you understand that IIS operates on port 80(default), and that Apache is also attempting to operate on port 80. You must either choose: To Configure IIS to operate on port 80, and set Apache to operate on port 8080. To Configure Apache on port ...


1

First, you "might" have a virus on your machine pretending to be an antivirus and using port 80. If your antivirus uses port 80 I think you should delete it immediately and install Windows Defender, for example. An antivirus should not use port 80! Second, WAMP might have automatically installed on another port since it might have found port 80 to be used ...


1

Try deleting the alias you just added. Add the alias back in manually, ideally by copying one you already have that you know works, then carefully modifying it accordingly. Be careful with spaces. As the accepted answer mentions, the new alias is almost certainly the problem. Only reason for adding a separate answer is that in my experience of this exact ...


1

I tried doing this, but found that it got overwritten upon wamp restart. You can fix it for good by editing the $wwwDir variable in wamp/scripts/config.inc.php


Only top voted, non community-wiki answers of a minimum length are eligible