-
OSはMac OS x
-
まずhttpd.confを編集
-
vim /Applications/MAMP/conf/apache/httpd.conf -
#CustomLog で検索
#CustomLog "/Applications/MAMP/logs/apache_access.log" combined- と記述されている場所が見つかるのでコメントアウトを外す
-
apache 再起動
-
GUIでもCUIでも
-
localhost:8888以下の任意のファイルにアクセス
-
less /Applications/MAMP/logs/apache_access.log
- でログが記録されていることを確認
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme