Try an alternative method: If both php.ini and .htaccess methods don’t work, you can try modifying the wp-config.php file. Open the file and add the following line before the “/* That’s all, stop editing! Happy blogging. */” comment:
@ini_set(‘upload_max_size’, ‘128M’);
@ini_set(‘post_max_size’, ‘128M’);
Save the file and check if the new upload limit is reflected in the WordPress admin.