Thursday 16 February 2017

Simple Solution for WampServer doesn't start on Windows 10


 In windows 10 wampserver has some problem in starting its services. Normally if you try to type localhost in the server it will not show anything. Also the W icon for wamp server will be shown inactive or Yellow colour.
 The problem is that in Windows 10 IIS service is automatically installed with the OS. So the port number 80 which the Wampserver is using is reserved by Windows IIS. So wampserver will not start.


1) Click on the wamp tray icon on the left
2) Click on Apache->
3)Click on httpd.conf file
4) Inside it their is a line like


Listen 80

Replace it with these lines :-


Listen 8080

5)Look for another line  like:-

ServerName localhost:80

6) Replace it with

ServerName localhost:8080

7)Now Restart all services, You can notice that wamp icon is changes to green.

8) Now go to browser and visit localhost:8080/ 
default wamp page will open.

9) But for accessing Phpmyadmin database, if we go to localhost:8080/phpmyadmin/ it will not work. It will show forbidden access.

10) Navigate to wamp/ alias/ and open phpmyadmin.conf file.

11) Replace these lines

Order Deny,Allow
Deny from all

Allow from


 Order Deny,Allow 

    Allow from all

11)  Now navigate to localhost:8080/phpmyadmin/
it will work fine.