Run Xamp or Wamp Together with IIS

1. Download XAMPP from :  https://www.apachefriends.org/download.html

2.Go to : C:\xampp\apache\conf  and Open up :  httpd.conf

3. Go to line 63 or Find : Listen : 80 And Replace 80 with 81
(coz, this tells Apache to listen to all IP addresses on port 81 (you probably don’t need the asterisk but I did. You could also change to another port of choice, e.g. 8080) if you were also using port 81)

4.Go to line 175 or Find : ServerName localhost:80 and change it to ServerName localhost:81

5.Again, Edit file C:\xampp\apache\conf\extra\httpd-ssl.conf and change to : Listen 442

6.check out for  http://localhost:81

7. If not running , Go to Start > Run > type “cmd” > type “cd c:\xampp\apache\bin” > type “httpd”
(that ask for allow access, check for yes).. Your xampp is up and running

8. Start enjoynig xampp or wamp at http://localhost:81

Comments