Change the PHP configuration (php.ini)
- Start MAMP.
- Stop the servers if they are running.
- Note which PHP version is currently selected in the main window.
- Open the
php.inifile for that PHP version in a text editor. The file is located at:Replace/Applications/MAMP/bin/php/phpX.Y.Z/conf/php.iniX.Y.Zwith your PHP version number (e.g.php8.3.30). - Edit the desired values.
- Save the file.
- Start the servers.