0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MAMP Proが急にstartもsaveもできなくなった話

Posted at

MAMP Proで迷走したので備忘録。

週明けにMAMP proを使って作業しようとしたところ、startを押しても起動しない...先週何も設定変更してないのに...!

緑色になるはずの左上のマークがオレンジ色になって、apacheにOnがつかない。
startしないので、サイトも開けない上にSaveもグレーアウトして押させてもらえない...どうして...。

【解決】
赤字になっているhostsを削除したら治った

apacheが動かないのってどうやって対処すんだと、ターミナルやらなんやらで色々試す最中、MAMPで以下のエラー文言が。

「Some changes can not be saved. A host name may be missing or a document root folder may be invalid. You can also revert to the saved state before you start the servers.」

(翻訳) 一部の変更は保存できません。 ホスト名が欠落しているか、ドキュメントのルート フォルダーが無効である可能性があります。サーバーを起動する前に保存された状態に戻すこともできます。

hosts一覧をよく見たら「こいつ赤字だったか...?」というのが1件あるじゃないですか。

Saveできなくてもhostsが増やせる(アクセスできるとは言ってない)のは確認してたので、ドキドキしながら削除 → 動いた!!!

設定ファイルとかmysqlの方とか色々手探りで見てたの恥ずかしくなってきた...なんだこのしょうもない話...。

でも!!!未来の自分といつかの誰かの役に立つと信じて備忘録でした〜〜!!!

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?