Error: “UPLOADED FILE EXCEEDS THE UPLOAD_MAX_FILESIZE DIRECTIVE IN PHP.INI”

bhawanisingh

Administrator
Staff member
You will get this error when try to upload large files like images, videos, themes or other media files. If you are also getting this issue then you can follow below steps.
  • Login to cPanel.
  • Click on “File manager” and then click on “public_html” folder.
  • Here find wp-config.php file and add below lines to increase upload_max_filesize and post_max_size in Wordpress.
Code:
@ini_set('upload_max_size' , '64M' );
@ini_set( ‘post_max_size’ , ‘64M’ );
  • After that save your file.
 
Top