Preferences > Server
-
Database server:
Here the version of the MySQL database is displayed. -
Document root:
Here you can select the directory where you want to store your HTML and PHP files, images etc. This directory is called document root. By default the directory “/Applications/MAMP/htdocs” is set.