Hallelujah, found the answer in one of the many threads on this subject. Hint, it’s not “ask your hosting provider”.
Search for this thread, read down a couple of comments. The php version mentioned needs to be updated.
How to increase Maximum upload file size from 2MB
And .. then, restart apache 🙁
-
This reply was modified 1 year, 11 months ago by
intonalist.
The maximum upload size is controlled at the server level, not by WordPress. Here are three ways you can increase the upload limit:
- If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example,
upload_max_filesize = 250M ; and post_max_size = 250M ;
- If you cannot edit or override the system php.ini file, add
php_value upload_max_filesize 250M and php_value post_max_size 250M to your .htaccess file.
- If neither of these works, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.
(in the above examples, the limit is set to 250MB)
Yes, for a self-managed LAMP stack with wordpress: /etc/php/(version)/apache2/php.ini
two values to set upload_max_filesize and post_max_size
then restart apache2
All the other frequently suggested ‘fixes’ do not seem to work: htaccess, php.ini within the www home directory, etc etc.
Yeah, which fix works varies greatly on your server configuration.
Glad that worked out for you!