Depending on the web hosting company you choose and the package you select, each of you will see maximum file upload limit on your Media Uploader page in WordPress. For some it is as low as 2MB which is clearly not enough for media files like (audio / video). Most pictures are under 2MB, so it is fine for just pictures. In this article, we will show you how to increase the maximum file upload size in WordPress.
You can try one of method that I give below.
@ini_set( 'upload_max_size' , '64M' ); @ini_set( 'post_max_size', '64M'); @ini_set( 'max_execution_time', '300' );
php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300
Create [highlight color=”orange”]php.ini[/highlight] in your [highlight color=”salmon”]wp-admin[/highlight] folder and copy the code below:
memory_limit = 100M upload_max_filesize = 192M post_max_size = 100M file_uploads = On