Solution No -1 :
Go to your WordPress web directory and open WP-admin folder.Search php.ini file in that folder.If it does not exist then create file with same name or edit the existing php.ini with following code.upload_max_filesize = 64M
post_max_size = 64M
memory_limit = 400M
file_uploads = On
max_execution_time = 180
Save the file and refresh your browser
If the above php.ini does not work for you then follow the below steps.
Solution-2:
Open .htaccess from main folder of your website and put the following code at the bottom of file
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value memory_limit 400M
php_value max_execution_time 180
php_value max_input_time 180
Save and referesh the browser
No comments:
Post a Comment