Skip to content
MAMP PRO Documentation

Edit php.ini file

The php.ini file is PHP’s central configuration file. It controls a wide range of runtime settings — including the memory limit, maximum file upload size, execution time, error reporting behavior, and which extensions are loaded. Each PHP version has its own php.ini, so changes only affect the version you edit.

In MAMP PRO, php.ini is managed through the Template Editor. You do not edit the file directly on disk; instead, MAMP PRO generates the active configuration from this template each time the servers start.

  1. Start MAMP PRO.

  2. Go to File › Open Template › PHP (php.ini).

  3. Select the PHP version whose php.ini you want to edit.

  4. Make the desired changes.

  5. Save the file ( S).

  6. Close the editor ( W).

  7. Restart the servers.


PHP how-to guides