Problem
My programmer has this error while uploading file in wordpress
Solution
Find php.ini file location
php -i | grep 'php.ini'
Change this value inside in php.ini
upload_max_filesize = 12M
post_max_size = 13M
memory_limit = 15M
Or add this code to first line of .htaccess
file (is located in WordPress installation directory)
php_value upload_max_filesize 12M
php_value post_max_size 13M
php_value memory_limit 15M
Note:
- Change the file size with your case study
Top comments (0)