Windows 8 PC に XAMPP 1.8.1 をインストールしました。このバージョンには、以下に示すパッケージが含まれています。
Apache 2.4.3
MySQL 5.5.27
PHP 5.4.7
phpMyAdmin 3.5.2.2
FileZilla FTP Server 0.9.41
Tomcat 7.0.30 (with mod_proxy_ajp as connector)
Strawberry Perl 5.16.1.1 Portable
XAMPP Control Panel 3.1.0 (from hackattack142)
Apache を起動して開始しようとすると、次のエラーが発生しました。
12:04:41 PM [Apache] Attempting to start Apache app...
12:04:41 PM [Apache] Status change detected: running
12:04:42 PM [Apache] Status change detected: stopped
12:04:42 PM [Apache] Error: Apache shutdown unexpectedly.
12:04:42 PM [Apache] This may be due to a blocked port, missing dependencies,
12:04:42 PM [Apache] improper privileges, a crash, or a shutdown by another method.
12:04:42 PM [Apache] Check the "/xampp/apache/logs/error.log" file
12:04:42 PM [Apache] and the Windows Event Viewer for more clues
その後、error.log を確認しましたが、空だったので、そこからは助けにはなりませんでした。
ベストアンサー1
そこで、この問題の解決策は次のとおりです。
Skype が使用するポートを確認し80
、その後ポートを に変更しました81
。また、このエラーは SSL ポートが原因である可能性があるとどこかで読んだので、SSL ポートを に変更しました444
。ただし、これは簡単に解決されました。
ここで注意すべき最も重要なことは、すべてのポート変更は、http ポートの変更の場合、構成ファイル内で実行する必要があることです。confファイルSSL用httpd-ssl.confそうしないと、変更が Apache に複製されず、場合によっては PC の再起動も必要になります。
編集: Apacheがポート80を使用し、Skypeが他のポートで通信するようにします
Skype で苦労している人は、ポートを変更して Apache がポート 80 を使用するようにしたいでしょう。
再インストールする必要はありません。Skypeポートを変更する方法は簡単です。
Goto: Tools > Options > Advanced > Connection
そこで必要なのはuncheck
着信接続の代替としてポート 80 と 443 を使用します。
以上です。スクリーンショットがこちらです。