Skip to content
MAMP Documentation

Change the PHP configuration (php.ini)

  1. Start MAMP.
  2. Stop the servers if they are running.
  3. Note which PHP version is currently selected in the main window.
  4. Open the php.ini file for that PHP version in a text editor. The file is located at:
    /Applications/MAMP/bin/php/phpX.Y.Z/conf/php.ini
    Replace X.Y.Z with your PHP version number (e.g. php8.3.30).
  5. Edit the desired values.
  6. Save the file.
  7. Start the servers.