• Home
  • knowledge base
  • Support
    • Submit Ticket
  • Support Policy
  • Hire Us
  • Home
  • knowledge base
  • Support
    • Submit Ticket
  • Support Policy
  • Hire Us
home/Knowledge Base/General/How to increase upload_max_filesize
Popular Search:Getting Started

How to increase upload_max_filesize

274 views 1 Apr 26, 2016 Updated on Jul 5, 2021 faq

Edit in php.ini file

If you have access to the PHP.ini file you can directly increase the PHP Memory Limit. If you have access to the php.ini file, find upload_max_filesize and increase its limit as upload_max_filesize=32M

Some shared hosting servers would not give you access to the PHP.ini file. But some servers allow you to create a duplicate PHP.ini in your respective site directories which data/values will override the default php.ini values. To do that you just need to create a file with the name ‘php.ini’ in the directory in the root directory. In that php.ini file write the following code:

upload_max_filesize = 10M

Increase max_file_size in wp-config.php

Open the wp-config.php file in the root directory. Paste the following line in that file

Increase memory limit in .htaccess file

WordPress creates a .htaccess file when permalink setting.  Paste the following code at the very bottom in the .htaccess file

If these solution is not working talk to your host provider enable from PHP ini file.

Was this helpful?

1 Yes  No
Related Articles
  • How to activate and deactivate the license
  • How to change your mobile menu logo
  • How to add missing words in translation
  • Errors on demo content installation
  • Customize Beauty Press Header and Footer Builder
  • Create WP fundraising with Single Donation Campaign

Didn't find your answer? Contact Us

New title
  • Archer
  • Beautypress
  • BeautyPress HTML
  • Blo
  • Car Rental
  • Doors
  • Elementor
  • Evenex
  • Gemvast
  • General
  • Getleads
  • hostinza
  • Marketo
  • WellnessCenter
  • WordPress
New title
  • How to Extend/Renew your Support Period?
  • View phpinfo() in WordPress
  • Theme translation with Poedit and Loco Translate Plugin
  • How to install WordPress
  • Use Child Theme instead of Parent Theme

  How to install WordPress

How to increase server memory limit  

  • © 2016 XpeedStudio.com. All Rights Reserved. Privacy Policy | Terms of Use

Popular Search:Getting Started