1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

xamppがうまく動作しなくなったが、試行錯誤の末、単純な理由で解決することができた。

Last updated at Posted at 2019-08-25

xamppが起動できなくなった

xamppを単体で入れてApacheとmysqlを使っていたが、再起動をするとその二つが起動できなくなるという状態が続いていた。

やったこと

他の方が書いたQiitaの記事や、その他たくさんの記事を読み、ポートが衝突しているとかSkypeが原因だとか書いてあることは一通り試したが改善せず。

不具合の原因

あることをすることで簡単に改善することができた。
xamppは単体でダウンロードをするほかに、Eclipseをダウンロードする際にくっついてくる。
Eclipseにくっついてくることを知らずに、単体でxamppをインストールしていたことが原因だった。

windowsマークの横の検索からxamppを検索していたのだが、そのパスの先はEclipseのほうに繋がっていた。
それに気づかず常に単体のxamppとEclipseのxamppを起動した状態になっていた。
これが不具合の原因になっている。

解決方法

Eclipseのほうのxamppを削除することによって、単体で入れたxamppが無事正常に動作することができた。

まとめ

xamppのapachaやmysqlが起動しなくなったらPCの中にxamppが複数あるかどうか確認してほしい。
もし、あったならそれが原因でうまく動作しない場合があるため、使っていないxamppは削除したほうが良い

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?