SitePoint Sponsor

User Tag List

Results 1 to 13 of 13
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2012
    Location
    Pabna, Bangladesh
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unable to install xampp

    Hi guys,

    I like to inform you that I couldn’t install xampp-win32-1.7.3 in my computer for creating a local host/local server.

    Then I tried XAMPP 1.7.1 win32 (Basic Package). But it showed the massage: Ports 80 or 443 (SSL) already in use! Installing Apache2.2 service failed!

    Please anybody can tell me, what should I do?

    Thank you

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Do you have another web service running?

    Do you have skype running?

    This tool can tell you which processes/applications are using what local ports: http://technet.microsoft.com/en-us/s.../bb897437.aspx
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,156
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    I've always used the DOS command prompt
    C:\>netstat
    but that tool does look much more user friendly

  4. #4
    SitePoint Member
    Join Date
    Jun 2013
    Location
    istanbul, TR
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can use alternative wampp software

  5. #5
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by eksen View Post
    you can use alternative wampp software
    Actually, no. Not for a "port in use" problem. The installer/management package won't make a difference since Apache and MySQL use the same default ports--80 for apache, and 3306 for MySQL.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  6. #6
    SitePoint Addict
    Join Date
    Oct 2008
    Location
    Virtual World is my location
    Posts
    311
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Well even if ports are in use you could change the ports easily. Thats not a major issue.

    You need to go to xampp folder > apache > conf > httpd.conf

    find the port Listen
    Listen 80
    You can change that to any port and then when you access local host you need to say localhost:XX so that it loads web from that port.

    Similarly for 443 port you need to go to httpd-ssl.conf and change the listen port

    Then restart apache and you should be ok.
    RecipesNext.com - recipes, kitchen queries, videos & more...
    BargainNext.com - coupons / deals / bargains / offers & more...

  7. #7
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by jaagare View Post
    Well even if ports are in use you could change the ports easily. Thats not a major issue.
    It's usually better to figure out what's actually using those ports. They aren't typically used on home workstation.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  8. #8
    SitePoint Addict
    Join Date
    Oct 2008
    Location
    Virtual World is my location
    Posts
    311
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Force Flow View Post
    It's usually better to figure out what's actually using those ports. They aren't typically used on home workstation.
    Mostly the ports are free but sometimes with applications or even Anti Virus / Firewall softwares installed they sometimes block these common ports. Most of the times I have found that changing the ports solves the issue on most machines
    RecipesNext.com - recipes, kitchen queries, videos & more...
    BargainNext.com - coupons / deals / bargains / offers & more...

  9. #9
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by jaagare View Post
    Mostly the ports are free but sometimes with applications or even Anti Virus / Firewall softwares installed they sometimes block these common ports. Most of the times I have found that changing the ports solves the issue on most machines
    They block external access, yes. You would have to open those ports in the firewall to allow others to connect to webserver services.

    However, these applications rarely block local access to these ports or even use these ports. The worst offenders I've seen using port 80 or 443 are are chat applications, such as Skype. In Skype, there is a special advanced setting to explicitly prevent Skype from using port 80 and 443.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  10. #10
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I use Wamp. May want to try that one.

  11. #11
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    3
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I have the problem about - How to install XAMPP on windows XP? I have brought XAMPP Win32-1.7.1 from a friend but not know how to install it on my computer, looking here for step-to-step guide to install it correctly.

    I am newbie to the PHP web development.

  12. #12
    SitePoint Member
    Join Date
    Jun 2013
    Location
    Calgary, AB, Canada
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Howdy,

    9 times out of 10 it is Skype that is causing the issue. As mentioned, changing local server packages won't fix the issue and generally, I like to keep my server ports unchanged.


    Fire up Skype:

    Tools > Options > Advanced > Connection > uncheck Use port 80 and 443 as alternatives for incoming connections > Save

    Cheers!
    Lyle

  13. #13
    SitePoint Enthusiast
    Join Date
    Jan 2012
    Location
    Pabna, Bangladesh
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by 2ninerniner2 View Post
    Howdy,

    9 times out of 10 it is Skype that is causing the issue. As mentioned, changing local server packages won't fix the issue and generally, I like to keep my server ports unchanged.


    Fire up Skype:

    Tools > Options > Advanced > Connection > uncheck Use port 80 and 443 as alternatives for incoming connections > Save

    Cheers!
    Lyle
    It works! Thank you so much for your tips. Be well.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •