Getting Moodle to work locally with MAMP on macOS Catalina requires a few extra steps beyond a standard install.
Steps
Step 1: Download Moodle for macOS
Get the Moodle package from the official macOS download page.
Step 2: Disable Gatekeeper to allow unsigned apps
macOS Catalina’s security settings may block the MAMP app. To disable Gatekeeper:
1 | sudo spctl --master-disable |
Reference: How to disable Gatekeeper via command line
Step 3: Find and edit php.ini for your PHP version
- Open MAMP → Preferences → PHP and note your current PHP version (e.g., 7.2.10)
- Edit the corresponding
php.inifile:
1 | /Applications/MAMP/bin/php/php7.2.10/conf/php.ini |
Increase the upload limits (important for large SCORM packages):
1 | post_max_size = 100M |
Step 4: Restart MAMP
Stop your MAMP server, then start it again. Imports and SCORM uploads should now work without errors.