• Login
en
afsqam ar hy az eu be bn bs bg ca ceb ny zh-CN zh-TWco hr cs da nl en eo et tl fi fr fy gl ka de el gu ht ha haw iw hi hmn hu is ig id ga it ja jw kn kk km ko ku ky lo la lv lt lb mk mg ms ml mt mi mr mn my ne no ps fa pl pt pa ro ru sm gd sr st sn sd si sk sl so es su sw sv tg ta te th tr uk ur uz vi cy xh yi yo zu
Victor Mochere
No Result
View All Result
  • Business
  • Finance
  • Education
  • Travel
  • Technology
  • Living
  • Entertainment
  • Governance
  • Sports
en
afsqam ar hy az eu be bn bs bg ca ceb ny zh-CN zh-TWco hr cs da nl en eo et tl fi fr fy gl ka de el gu ht ha haw iw hi hmn hu is ig id ga it ja jw kn kk km ko ku ky lo la lv lt lb mk mg ms ml mt mi mr mn my ne no ps fa pl pt pa ro ru sm gd sr st sn sd si sk sl so es su sw sv tg ta te th tr uk ur uz vi cy xh yi yo zu
Victor Mochere
No Result
View All Result
en
afsqam ar hy az eu be bn bs bg ca ceb ny zh-CN zh-TWco hr cs da nl en eo et tl fi fr fy gl ka de el gu ht ha haw iw hi hmn hu is ig id ga it ja jw kn kk km ko ku ky lo la lv lt lb mk mg ms ml mt mi mr mn my ne no ps fa pl pt pa ro ru sm gd sr st sn sd si sk sl so es su sw sv tg ta te th tr uk ur uz vi cy xh yi yo zu
Victor Mochere
No Result
View All Result
Home Passé

How to increase WordPress maximum file upload size

Victor Mochere by Victor Mochere
in Passé, Technology
Reading Time: 3 mins read
A A
0
How to increase WordPress maximum file upload size

WP upload max size is the maximum allowed size for a file to upload to your WordPress website. A file can be a theme, plugin, image, video, audio, document or any other kind of file. The default upload max size for WordPress is 2MB which is very low for any website. If you want to upload a file that exceeds 2MB, then it will be prudent for you to increase your maximum file upload size.

How to increase WP upload max size

The recommended WordPress maximum file upload size is 64MB.

RelatedPosts

How to build a hospital management software system

How hospital management systems improve efficiency in healthcare delivery

How to remove watermarks from ChatGPT text

Things to know about Starlink satellite internet

a. functions.php

  1. Open your theme files and locate the functions.php file. You can contact your theme developer for assistance if required.
  2. Locate the line that has; @ini_set(‘upload_max_size’ , ‘2M’);. If you can’t find that line, you can simply add it.
  3. Change the upload max size from 2M to 64M.
  4. Save the functions.php file then refresh your website.

b. php.ini

  1. Locate the php.ini file. If you can not find it, then simply create your own php.ini file and place it in the root directory of your WordPress installation. Using cPanel or FTP/SFTP, go to File Manager > public_html.
  2. Locate the .php.ini file under the public_html folder, right click on it and select the “Edit” option.
  3. Locate the line that has; upload_max_filesize = 2M. If you created your own php.ini file, ensure you add the line.
  4. Change the upload max size from 2M to 64M.
  5. Save the php.ini file then refresh your website.

Some shared hosting providers restrict you from accessing the php.ini file. This method is only applicable in case you have direct access to your php.ini file or if you are running your WordPress on a local host.

c. .htaccess

  1. Locate the .htaccess file in the root directory of your WordPress installation. If you can’t find it then it might be hidden. Make sure to check your hidden files when locating it. Using cPanel or FTP/SFTP, go to File Manager > public_html.
  2. Locate the .htaccess file under the public_html folder, right click on it and select the ‘Edit’ option.
  3. Locate the line that has; php_value upload_max_filesize 2M. If you can’t find that line, you can simply add it before the # END WordPress line.
  4. Change the upload max size from 2M to 64M.
  5. Save the .htaccess file then refresh your website.
Tags: WordPress
Previous Post

How to increase WordPress memory limit

Next Post

How to increase WordPress maximum post size

Victor Mochere

Victor Mochere

Blogger, internet personality, and netpreneur creating and marketing digital content.

Related Posts

How social media platforms spy on their users
Passé

How social media platforms spy on their users

Maldivan passport Visa Free countries
Passé

Maldivan passport Visa Free countries 2025

Best quotes from Oscar Wilde
Education

Best quotes from Oscar Wilde

How to prevent electronics from blowing up
Living

How to prevent electronics from blowing up

10 commandments of blogging
Business

10 commandments of blogging

Top 20 most expensive paintings in the world
Living

Top 20 most expensive paintings in the world 2025

Next Post
How to increase WordPress maximum post size

How to increase WordPress maximum post size

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Trending articles

  • My reflections, on this my birthday

    My reflections, on this my birthday

    1 shares
    Share 0 Tweet 0
  • My reflections on turning 30

    1 shares
    Share 0 Tweet 0
  • Top 10 greatest marathon runners of all time

    0 shares
    Share 0 Tweet 0
  • Evolution of self-driving technology

    1 shares
    Share 0 Tweet 0
  • Business practices that every entrepreneur must adopt

    1 shares
    Share 0 Tweet 0

Latest articles

The 20 largest floral tributes of all time
Living

The 20 largest floral tributes of all time

by Victor Mochere
0

Floral tributes have long served as a universal language of mourning, reverence, and collective memory. Yet, on rare occasions, grief...

Read moreDetails
How to build a hospital management software system

How to build a hospital management software system

How hospital management systems improve efficiency in healthcare delivery

How hospital management systems improve efficiency in healthcare delivery

Top 20 best defended countries in the world

Top 20 best defended countries in the world

How powerful is the Catholic Church?

How powerful is the Catholic Church?

Recommended articles

Top 10 poorest Caribbean countries
Finance

Top 10 poorest Caribbean countries 2025

by Victor Mochere
2

The Caribbean is a region of North America that consists of the Caribbean Sea, its islands (some surrounded by the...

Read moreDetails

How to raise capital for your business

Best quotes from Wiz Khalifa

Things to know about Starlink satellite internet

Best quotes from self-made billionaires

Victor Mochere

Victor Mochere is one of the biggest informational blogs on the web. We publish well curated up-to-date facts and important updates from around the world.

Sections

  • Business
  • Education
  • Entertainment
  • Finance
  • Flacked
  • Governance
  • Living
  • Passé
  • Sports
  • Technology
  • Travel

Follow us

  • Advertise
  • Disclaimer
  • Cookies
  • Privacy Policy
  • Copyright
  • DMCA
  • Guest blogger
  • Blog tip
  • Contact us

© 2025 Victor Mochere. All rights reserved.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
[gtranslate]
No Result
View All Result
  • Login
  • Sections
    • Business
    • Finance
    • Education
    • Travel
    • Technology
    • Living
    • Entertainment
    • Governance
    • Sports
  • About us
  • Victor Mochere Biography
  • Sitemap
  • Social Media Policy
  • Corrections
  • Comment Policy

© 2025 Victor Mochere. All rights reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Cookie Policy.