There is 3 useful methods for the fix his annoying issue👇
1: Theme Functions File
Find the theme functions.php from your theme folder and add this code and save it.
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );
2. Create or Edit an existing PHP.INI file
Find php.ini file if not crewte a file named as php.ini and add these codes into it.
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
This method is worked %100 and proven as well.If it s nlt worked please xhange the number as you desire ,example:32M
3. htaccess Method
Another method is htaccess method.For this method you have to be extremely careful.Add these codes into your htaccess file ending.
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
If you have any issue still,please contact with your hosting provider,other than one these 3 methods will able to fix your issue .
Hope it helps and if you happy,please share and comment.
Thanks
No comments:
Post a Comment