Wednesday, January 28, 2015

How to: Creating multiple Apache log files on a per host basis

By Default MAMP PRO logs your Apache errors in /Applications/MAMP/logs/apache_error.log. Errors originating from all hosts are entered into this single log file. It may be more convenient to have one log file for each individual host.

Open up your httpd.conf template file (Go to > File > Edit Template > Apache > httpd.conf) and scroll down to the “MAMP_VirtualHost_iteration_begin_MAMP” directive. Inside the httpd.conf template file add the following Errorlog directive (see line 10 in this code snippet).

This will create multiple log files in your /Applications/MAMP/logs directory. They will be named MyHostName1.log, MyHostName2.log, ….

Double check your work in your real httpd.conf file which is created every time you start your Apache server in ~/Library/Application Support/appsolute/MAMP PRO . You should see the following changes under each individual host. The following is the localhost:

There´s a second method to generate multiple Apache log files:
You can create individual Apache error log files through the MAMP PRO interface. In the Hosts tab, under the Extended section you can add the following under the Additional parameters for "VirtualHost": section.


Method 1 - You only have to make one change to your httpd.conf template file and each subsequent host you create will have an Apache error log file created for it without any additional work. The disadvantage is you have less control over the name and location of your custom Apache log file.

Method 2 - You have more control over the name and location of your custom Apache log file. The disadvantage is that you have to enter the custom Apache log file name for each additional host you create. Error messages will appear in the default apache_error.log file If you forget adding a custom Apache error log file name for a particular host.


Tuesday, January 27, 2015

MAMP & MAMP PRO for Windows Preview Release

We´ve released a free preview version of MAMP & MAMP PRO for Windows. It runs under Windows 8.1, Windows 8.0 and Windows 7. A minimum of 2GB free HD space is required.

This version contains all features of the Mac OS X version. You can test the MAMP & MAMP PRO for Windows Preview until 15th of February 2015. After this we´ll provide an advanced beta version of MAMP & MAMP PRO for Windows. The preview can be downloaded here.


Monday, December 15, 2014

MAMP PRO: Postfix - The Ultimate Guide

MAMP PRO only uses Postfix from Mac OS X to implement basic mail-sending capabilities. It was designed to help developers to check if their mail scripts are working correctly, to see if all the information that is supposed to be in a mail, is really there, to check the layout and so on. It was never intended to use Postfix as a full-fledged email server replacement. Please keep that in mind.

A minimal Postfix setup is simple. We use Googles Gmail service as an example to demonstrate the workings of Postfix.

In the Postfix section of MAMP PRO please set the domain of outgoing emails to "". Leave the Smart Host checkbox unchecked.

Click the Button "Use this data". In Postfix' log file you will see something like

Dec 12 09:10:48 Tonne postfix/master[31865]: daemon started -- version 2.9.4, configuration /etc/postfix

The log file is located at /var/log/mail.log and can be viewed with

In MAMP PRO, create a host (let's say you call it 'postman') and assign it a document root folder.

In a text editor create a PHP script, a basic mail-sending PHP script would look like:

Please replace '' and '' with working Gmail addresses. Save the script to the document root folder of 'postman'.

Make sure the servers of MAMP PRO are running and click on the right arrow located next to the field "Server name" in the General section of the Hosts view. Your web browser should open and show the message "Testing Postfix...".

In /var/log/mail.log new entries will appear, similar to

The most important information is "status=sent". This means Postfix has handed the message over to Gmail which has accepted it. The last line indicates that Postfix has removed the message from its local queue, Postfix has done its work!

If, and where to, Gmail delivers the message is out of the hands of Postfix now. Please check your spam folder if the message does not show up in your inbox. Make sure you are looking in the correct spam folder, on Gmails webpage it's hidden behind "More" in the folder hierarchy on the left side.

If you need more sophisticated email capabilities you might want to use a Smart Host. In this case, please contact your email provider for the correct settings. Typically, free accounts do not have smart host capabilities.


Tuesday, October 21, 2014

Screencasts on MAMP.TV

A few weeks ago we started our youtube channel MAMP.TV You will find how to´s, walkthroughs and trouble shooting tips about MAMP & MAMP PRO. 

We already published a set of 12 videos. Most viewed is out MAMP PRO Introduction followed by the installing Wordpress on MAMP PRO screencast.
We´ll keep this up and we´ll publish more tutorial and videos about MAMP in the future.


Friday, April 11, 2014

MAMP & MAMP PRO 3.0.4 released

We´ve just released version 3.0.4 of MAMP & MAMP PRO. The menu bar icon is now Retina compatible and - on popular request - you can switch the blue elephant icon into a black one.
Another tidbit is that you are now able to choose the browser you want to use to open a site from MAMP PRO.

Other improvements are:

  • Fixed a problem with font support in ImageMagick
  • Installer images are now Retina compatible
  • Added: PHP v5.4.26, Ghostscript 9.14
  • Updated: ImageMagick 6.8.8-9, Imagick 3.1.2, phpMyAdmin 4.1.12,
  • phpLiteAdmin 1.9.5, APCu 4.0.4, Xdebug 2.2.4, Perl 5.18.12

  • Option to turn off the color of the status menu icon
  • Status menu icon is now Retina compatible
  • Sites can now be opened in a specific webbrowser
  • Summary includes the last 20 lines of the server error logs
  • Summary can be easily send via email
  • DirectoryIndex will be honored for all virtual hosts


Wednesday, April 02, 2014

MAMP for Windows Beta released

Today we released MAMP for Windows Beta. We are looking forward to your feedback! Bugs can be filed at our bug base.
MAMP for Windows comes with the same set of features like the Mac version. MAMP for Windows Beta comes in English – in the final version the languages Spanisch, French, Russian, Japanese and German.


Thursday, March 06, 2014

Release of MAMP & MAMP PRO Version 3

Version 3 of MAMP & MAMP PRO is now available for download.


What´s new?



A major improvement in MAMP 3 are the 'Extras': We have received many requests on how to install and integrate Wordpress, Jooomla, and Drupal with MAMP PRO. With MAMP PRO Extras you can download and install these Content Management Systems with just a few clicks. To start with we will be including wordPress, Joomla, Drupal, and webEdition. We will be making additions to this list in the future.

No more starting and stopping your servers just because your hosts use different PHP versions. With MAMP PRO 3.0 you can run different versions of PHP in parallel without having to start and stop your servers.


An oft-requested feature that is now available in MAMP PRO. Imagemagick can now be activated using the php.ini template. Dynamic generation of images and editing raster graphics is easily accomplished without having to read a long tutorial.

New Interface

We have given the MAMP PRO 3.0 interface a facelift. The interface is now clearer and better structured with integrated tool tips that help you with clear explanations of the new features. The new icon is a symbol of the new simplified MAMP interface.

Local network access

You want to keep a colleague up to date with your current progress? This is now possible via Simply click on the Sharing-Button and your email client will be opened with an embedded link to one of your hosts.  The receiver of this email can now simply click on the link, taking them directly to the work on your host.

Menu Bar
One of the most requested features was adding MAMP PRO to the Menubar. Now you can easily see the server status, turn the servers on and off, or open the main window through the Menubar. In addition, you can view the log files display and change the settings of MAMP PRO.

You will be automatically notified of updates when they are made available. This way you are always up to date and can use the latest version.

  • Apache HTTP Server 2.2.25
  • MySQL 5.5.34
  • PHP 5.1.6, PHP 5.2.17, PHP 5.3.28, PHP 5.4.25, PHP 5.5.9
  • APC/apcu 3.1.13/4.0.3
  • eAccelerator
  • XCache 1.2.2 & 1.3.2 & 3.1.0
  • Xdebug 2.2.3
  • Perl 5.18.0
  • mod_perl 2.0.8
  • Python 2.7.5
  • mod_wsgi 3.4
  • mod_python 3.5.0
  • phpMyAdmin 4.1.8
  • phpLiteAdmin 1.9.4-1
  • SQLiteManager 1.2.4
  • Freetype 2.5.2
  • t1lib 5.1.2
  • curl 7.28.1
  • jpeg 8d
  • libpng 1.6.6
  • tiff 4.0.3
  • ImageMagick 6.8.7-0
  • Imagick 3.1.1
  • gd 2.0.34
  • zlib 1.2.8
  • ICU 52.1 (Unicode 6.3)
  • libxml2 2.8.0
  • libxslt 1.1.28
  • gettext
  • libidn 1.17
  • iconv 1.14
  • mcrypt 2.6.8
  • YAZ 4.0.1 & PHP/YAZ 1.1.5
This update is already available on our download page and our shop, don't hesitate to report any other bug you may find to our bugbase so we can fix it as quickly as possible.

Please note: Existing customers of MAMP PRO 2.x can upgrade to MAMP PRO 3 at a very reasonable rate.