Skip to content

Instantly share code, notes, and snippets.

@stevygee
Created January 26, 2022 16:49
Show Gist options
  • Save stevygee/3e872cff4b10c5f706460803fd148dbd to your computer and use it in GitHub Desktop.
Save stevygee/3e872cff4b10c5f706460803fd148dbd to your computer and use it in GitHub Desktop.
Increase the maximum upload size for WordPress using wp-env
wp-env run cli vi .htaccess
press "i"
add the following:
php_value memory_limit 128M
php_value post_max_size 128M
php_value upload_max_filesize 128M
press "ESC"
type :wq to save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment