Skip to content
MAMP PRO Documentation

Activate Output Buffering

Output buffering controls whether PHP collects output before sending it to the browser. Enabling it is required by some libraries and frameworks.

  1. Open MAMP PRO.

  2. Stop the servers if they are running.

  3. Go to File › Open Template › PHP (php.ini) › [PHP version].

  4. Search for:

    output_buffering = Off
  5. Change Off to On to enable buffering for all output, or set a maximum buffer size in bytes (for example 4096):

    output_buffering = On
  6. Save and close the file.

  7. Start the servers.


PHP how-to guides