digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Website and Server Troubleshooting (https://www.digitalfaq.com/forum/web-tech/)
-   -   How to increase WordPress media file size? (https://www.digitalfaq.com/forum/web-tech/8777-how-increase-wordpress.html)

baldwinjackson 06-14-2018 06:48 AM

How to increase WordPress media file size?
 
WordPress user generally face a common issue while uploading the large size files because hosting providers restrict the upload size to prevent sites from spam. WordPress allow users to increase WordPress upload size by overriding some default commands in .htaccess:

php_value upload_max_filesize 64M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300

kpmedia 06-15-2018 12:58 AM

Nice try Cloudways spammer, but no soup for you.

Your advice is actually not that good, because most hosts do not allow htaccess override of php value. And then there's also the MySQL limits to consider, or even the limits of something like CloudFlare. It's not as simple as just adding a few lines to htaccess, and fluttering off to enjoy your day. It's not how the website/hosting world works.

Many shared hosts would balk at some of those overly generous limits, as it'd likely cause resource abuse by the site. There's zero excuse to upload 64mb images, or add videos via the WordPress admin panel (rather than FTP and linking, or even linking videos from the non-streaming site to begin with).

So to put things in context, this sort of advice may require a VPS, as well as granular control over php (including htaccess override ability).

If you're going to spam, at least be a smart spammer. :rolleyes:

And this was written for anybody else that reads this. Be careful what you read online. It might be BS spambots.


All times are GMT -5. The time now is 11:02 AM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.