Skip to content

Instantly share code, notes, and snippets.

@ScarletPonytail
Last active March 21, 2018 10:28
Show Gist options
  • Save ScarletPonytail/1b5ea8ddf962e668c5a3181ee62a494c to your computer and use it in GitHub Desktop.
Save ScarletPonytail/1b5ea8ddf962e668c5a3181ee62a494c to your computer and use it in GitHub Desktop.
WordPress - Increase file upload threshold
01. Create a php.ini file and upload it to the wp-admin folder.
02. Put the following into the file:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
max_execution_time, upload_max_filesize, memory_limit and post_max_size in the php.ini
03. File path to MAMP's php.ini:
Applications > MAMP > bin > php > php<version> > conf > php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment