Thursday, November 11, 2010

XAMPP and Skype are not friends!

XAMPP and Skype are not friends! And nobody told me. They are not happy campers.

I have been using XAMPP as my development environment for a bunch of PHP projects like Drupal and Symfony. Also, XAMPP is my test application for most of my JSP applications like a registration system using Tapestry or Vaadin.

Skype. Well, I just started using Skype because some of my off shore projects use Skype. Apparently they don't think that Google talk or Yahoo! Messenger is not enough.

Now about them not playing nice - Skype uses ports that XAMPP also uses. If you try to run XAMPP Apache from the panel, it starts up then shuts down if Skype is running. So there are two solutions to this:

  1. Re-configure XAMPP Apache to use a different port. Not at difficult; you need to do this if you want to running both applications at the same time.
  2. Shut down one of them. My preferred solution. If I want to run XAMPP Apache then I have to "kill" Skype.  
Edit(7/6/2011): You can get around this now by running XAMPP first and turning on the services (Apache + MySQL) then open Skype. Skype will use a different port.