MAMP is a package for Apple computers that allows you to run web-server software on your local computer. It contains everything you need to run webtrees. It works well for local testing and development - or if you only need an offline/standalone version of webtrees.
The “document root” (the folder where you install webtrees) is usually
/Applications/MAMP/htdocs, but you can change it in the MAMP control panel.
The URL for this folder will be
You should copy webtrees to this folder. Many people install to a
sub-folder, such as
This will have the URL
This allows you to have several instances of webtrees (or other
applications) installed at the same time.
During setup, you will be asked for your MySQL details.
- Server name -
- Port number -
- Database user account -
- Database password -
- Database name - Choose a unique name for your database.
webtrees will create it if it does not exist.
webtreeswould be a good choice for your first database.
- Table prefix - This is needed when you install multiple applications in one database.
Since MAMP allows you to create multiple databases, you should use the default