WordPress will automatically show the maximum file upload WordPress max upload size limit when you are uploading images or media files. And here you can learn how to check your WordPress max upload size? For file upload size limit, you can simply go to Media » Add New page and you will see WordPress max upload size.
There are cases where we have seen that just by adding the following code in the theme functions.php file, you can increase the upload size:
Create/Edit an existing PHP.INI file in Root Directory
For this method, you will need to access your WordPress site root folders by using FTP in your hosting account’s Cpanel dashboard.
In most cases, if you are on a shared host, then you will not see a php.ini file in your directory or Cpanel directories or if you do not see php.ini, then create a file named php.ini and upload it in the root folder. In that file you can add the following code:
This method is reported to work for many users, statically. Remember if 64 doesn’t work, then try 20MB (sometimes that works).
Some people have tried to use the .htaccess method where by modifying the .htaccess file in the root directories, you can increase the maximum upload size in WordPress. Edit the .htaccess file in your WordPress site root folders and add the following code to it:
Now you know how to check your maximum file upload size limit on the WordPress website? with these methods. If you have more questions, you can comment below, or please feel free to contact us. You can also check our portfolio for our recent works too.