Created
January 26, 2022 16:49
-
-
Save stevygee/3e872cff4b10c5f706460803fd148dbd to your computer and use it in GitHub Desktop.
Increase the maximum upload size for WordPress using wp-env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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