Maximum upload file size: 2 MB

/, Wordpress/Maximum upload file size: 2 MB

Maximum upload file size: 2 MB

There are many solutions to this, The problem is that they may be dated. The answer depends on your server setup, whether you have multisite enabled and if you are on a shared server you may not even have any control over this.

Solution if you have upgraded to Easy Apache 4:

If you are have WHM access you can log in and go to the new tab unser software called MultiPHP INI Editor .  Check the file size of: upload_max_filesize, it is most likely 2M. Change that. You may then be able to upload a larger file but just in case you may want to do two other things. Go to the file wp-config and add this to the top: define (’WP_MEMORY_LIMIT’, ‘256M’); Just below * @package WordPress
*/

If your host has upgraded to Easy Apache 4 you may also have the same options in Cpanel, you may be able to update memory_limit and upload_max_filesize by going to software and clicking on MultiPHP INI Editor. There is also the MultiPHP INI Editor “Editor Mode” along with basic mode. If you think you have tried everything then try this.

Note: I use 256M, it may be to high for you the limit should be considered based on users and the server.

Solution for a fresh install of WordPress

Go to the file wp-config and add this to the top: define (’WP_MEMORY_LIMIT’, ‘256M’); Just below * @package WordPress
*/

See if that works first. You can access that file in the root directory of the wordpress installation. If not then look at some of the other solutions.

Solution for WordPress Multisite

Go to Network Admin->Settings and change the ‘Max upload file size’.

 

Not Recommended but may be used

If you have ftp access or cpanel access then you can pick a folder such as uploads and upload it there. This may work for someone who needs to upload one or a few files but you will need to remember the folder and place a hard url in the editor. If you ever change folders for the installation this may cause errors.

Other places to look:

In WHM you can check under Server configuration in the tweak settings tab, there is a setting there for cPanel PHP max upload size (Minimum: 50; Maximum: 2,047). 

If you have Easy Apache 3 you may want to log into the root account via sftp. There you can download and view your php.ini file.

To verify that it is your php.ini file you can create a file named info.php and put <?php phpinfo(); ?> in it, there you can view limits set by the server.

2016-10-15T11:46:00+00:00 By |Categories: , |0 Comments

About the Author:

David Chamberlain is the VP of Internet Ninja Inc which operates as Copper Abstract. He started his career on the Internet as a blogger in 2009 and has been dominating the Search Engines and Social Networks since then. He was hired by a website designer in 2009 that wanted her client to get to the first page of Google for the term "Camera Bags". Having no real knowledge of SEO but knowing how to get some traffic and 1.5 million views on YouTube he set out to achieve the goal and got the website to the first page of Google within 30 days and the third spot within 60 days. The website beat out major corporations with large payrolls for over two years, until the owner decided to go for a cheaper SEO company. David is referred to as an Internet Guru, an uber-techie, an expert on SEO and a variety of related topics. David’s focus is a specialized form of SEO which looks at different things than SEO for traditional marketing/PR purposes. David has done website design, social media, SEO and online crisis management for a variety of people and companies including lawyers, manufacturers, distributors, educators, doctors, retailers and more. He is an online influencer that helped with the launch of Marked Nutrition and Dallas the TV show on TNT. David’s qualifications include being a Google certified in analytics, adwords and mobile advertising. He is Facebook certified in 13 categories, Bing certified. Hootsuite Certified, a Yext certified partner and a LiquidWeb partner. In his personal time David likes to play with his grandchildren and build a wiki about Alaska which has 5,000 pages and gets just over 44,000 visitors a month. He reads a lot about Philosophy, Alaska and books that give him insight into his clients, becoming an expert in every field he takes on as a long term client.