I installed IIS in my windows, it worked…. OMG i just remembered i had installed XAMPP (the
windows flavor of Apache, MySQL, Perl and PHP) as well and when i
started running it the Apache Server couldn’t get started. When i looked
for the issue i could see that IIS uses port 80 for its functioning so
Apache of XAMPP couldn’t get started. I guess most of the Web Developers
who needs to install both services might be facing this problem, As i
did. Today i got a solution for that.
Snap Shots: This is a snapshot when i try to run apache, the service of Apache couldn’t get started. [IIS has already been installed and it doesn't allow to use port 80]
There are two ways to solve this:
Steps to go:
Firstly find xampp\apache\conf\httpd.conf
Finally You are done….Enjoy Both Servers at the same time
The Service had been Started after editing 2 files.
NOTE: When You start the XAMPP in browser type : localhost:81
Thanks
R.karthikeyan
Snap Shots: This is a snapshot when i try to run apache, the service of Apache couldn’t get started. [IIS has already been installed and it doesn't allow to use port 80]
There are two ways to solve this:
-
Either change IIS (the harder way)
-
Change the Apache config (the easier way)
Only one way Change the Default Port
By default IIS uses ports 80 and 443 for HTTP and HTTPS access respectively. By default, Apache also assumes these same settings. By altering two config files in Apache you can easily over-ride this:Steps to go:
Firstly find xampp\apache\conf\httpd.conf
-
Find Listen :80 …. Change to 81 [this tells Apache to listen to all IP addresses on port 81]
-
Again find ServerName localhost:80 change it to 81
-
Find Listen 443…. Change to 442 [This changes the SSL (HTTPS) port to 442 (or again, your port of choice).]
Finally You are done….Enjoy Both Servers at the same time
The Service had been Started after editing 2 files.
NOTE: When You start the XAMPP in browser type : localhost:81
Thanks
R.karthikeyan
No comments:
Post a Comment