- CD into the theme/plugin dir:
cd /path-to-your-theme-or-plugin
- Edit .htaccess file using vi inside the docker container using this command:
wp-env run cli vi .htaccess
- Add the following line at the end of the file:
php_value upload_max_filesize "8M"
- Close the vi by pressing escape a few times and then writing this:
:wq
and hit enter.
Created
August 5, 2022 11:42
-
-
Save mrizwan47/7e0bb809378af7a3a52803f191a7b9b5 to your computer and use it in GitHub Desktop.
wp-env | increase upload_max_filesize
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment