How to increase maximum upload file size in WordPress using .htaccess?
Been trying to increase the max upload file size in WordPress. Tried changing php in cPanel but couldn’t get that to work.
Tried typing this code into the .htaccess editor plugin:
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300
but it keeps telling me syntax error. I’m placing it after the #END WordPress line too.
2
Answers
You can also use ini_set in wp_config.php