ページ

2014年4月14日月曜日

Skypeがある場合にXAMPPのApacheが起動しない場合の対処方法

Skypeを既にインストールされているパソコンにXAMPPをインストールした場合、XAMPP Control Panel から Appache を起動しようとするとうまくいかないことがあります。その際、以下のようなメッセージが表示されます。

21:00:00 [Apache] Problem detected!
21:00:00 [Apache] Port 80 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 6584!
21:00:00 [Apache] Apache WILL NOT start without the configured ports free!
21:00:00 [Apache] You need to uninstall/disable/reconfigure the blocking application
21:00:00 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
21:00:00 [Apache] Problem detected!
21:00:00 [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 6584!
21:00:00 [Apache] Apache WILL NOT start without the configured ports free!
21:00:00 [Apache] You need to uninstall/disable/reconfigure the blocking application
21:00:00 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

 表示された情報を確認すると、Port 80 と 443 がすでにSkypeが使用しているため、Apacheを始めることができないということが分かります。
そこでSkypeがこの2つのポートを使用しないように設定します。

(1)Skypeを起動し、メニューバーより[ツール]→[設定]と進みます。

(2)左のメニューから[詳細]→[接続]と進みます。

(3)下のような画面が表示されたら、「上記のポートの代わりに、ポート80と443を使用」のチェックをはずします。


(4)Skypeを再起動させるとPort 80 と 443 が開放されますので、XAMPP上でApacheの起動が可能となります。

なお、Windows用Skype使用時に開放するポートについては、こちらのサイトで説明されていますので、参考にしてください。



<参考URL>
Windows用Skypeを使用するには、どのポートを開放する必要がありますか?
https://support.skype.com/ja/faq/FA148/