Posts - Scott Robinson · @ssxio · Jul 14, 2021
Wordpress Docker - How to set memory_limit, max_upload_size and other resource limits
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
To set max_upload_size and post_max_size to set in the official docker image, open a bash session and run: root@f125876a0568:/var/www/html # echo “php_value upload_max_filesize 256M” >> .htaccess root@f125876a0568:/var/www/html # cat .htaccess # snipped php_value post_max_size 256M php_value upload_max_filesize 256M Using >> in the echo command will append the line to the existing content present.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.