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.
-
Open MAMP PRO.
-
Stop the servers if they are running.
-
Go to File › Open Template › PHP (php.ini) › [PHP version].
-
Search for:
output_buffering = Off -
Change
OfftoOnto enable buffering for all output, or set a maximum buffer size in bytes (for example4096):output_buffering = On -
Save and close the file.
-
Start the servers.