How can I increase the PHP upload file size limits in WordPress?

Responsive Ad Header

Question

Grade: Education Subject: Support
How can I increase the PHP upload file size limits in WordPress?
Asked by:
64 Viewed 64 Answers

Answer (64)

Best Answer
(330)
You can increase PHP upload file size limits by editing your `php.ini` file, `.htaccess` file, or by contacting your hosting provider. Common directives to modify are `upload_max_filesize` and `post_max_size`. For example, setting `upload_max_filesize = 64M` and `post_max_size = 64M` in `php.ini` will increase the limit to 64MB.