Skip to content

Instantly share code, notes, and snippets.

@molovo
Last active December 13, 2019 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save molovo/247be3c51deded747ac6017f999b8c0c to your computer and use it in GitHub Desktop.
Save molovo/247be3c51deded747ac6017f999b8c0c to your computer and use it in GitHub Desktop.
diff --git a/cli/stubs/etc-phpfpm-valet.conf b/cli/stubs/etc-phpfpm-valet.conf
index 76c4ac7..85c175d 100644
--- a/cli/stubs/etc-phpfpm-valet.conf
+++ b/cli/stubs/etc-phpfpm-valet.conf
@@ -9,7 +9,7 @@ listen.group = staff
listen.mode = 0777
-php_admin_value[memory_limit] = 128M
+php_admin_value[memory_limit] = 2G
php_admin_value[upload_max_filesize] = 128M
php_admin_value[post_max_size] = 128M
diff --git a/cli/stubs/php-memory-limits.ini b/cli/stubs/php-memory-limits.ini
index bd12ec0..f55b53d 100644
--- a/cli/stubs/php-memory-limits.ini
+++ b/cli/stubs/php-memory-limits.ini
@@ -1,5 +1,5 @@
; Max memory per instance
-memory_limit = 128M
+memory_limit = 2G
;The maximum size of an uploaded file.
upload_max_filesize = 128M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment