Wordpress Upload Limits On Official Docker Wordpress Apache Image
Posted on April 13, 2025
To configure the php file upload size limits, put a .htaccess in the wordpress root directory, add values there.
php_value post_max_size 51M <-- limits to 51MB
php_value upload_max_filesize 51M <-- limits to 51MB
This is the place to configure site-specific php values.
Hey! I'll happily receive your comments
via email.
Thanks for reading.

Andreas Wagner
freelance System Administrator and Ruby programmer in Tallinn, Estonia