修改WordPress附件上传大小限制

OS : ubuntu 12.04

.htaccess文件中添加:

php_value upload_max_filesize 50M
php_value post_max_size 50M

重启apache

service apache2 restart