How To Increase WordPress Upload Size
This article is for Dedicated Servers only running Windows. If you are in a Shared or Linux Environment, please contact Support for assistance.
The default maximum upload size for a WordPress site in our environment is 8MB. Sometimes however it is necessary to increase this limit, especially if you intend on uploading larger files over time. If you have a large batch of files you wish to upload at once it is recommended to use FTP as it will be quicker. If you only need to upload a single file then increasing the limit will be needed.
To increase your WordPress upload limit:
- First navigate to your php.ini file. This file will be located at the following path: 'C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP##' where ## denotes your PHP version. For example, if you're using PHP 5.4 you will find the php.ini file in 'C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54'
- Once your php.ini file is open, search for the following attributes and edit their values to set the new upload size. It should be noted these values are in MB;
Then search for max_execution_time. This attribute is measured in seconds and is used to determine the maximum amount of time PHP will spend uploading the file, among other things. It's common to say for every 64MB uploaded to allow for roughly 300 seconds.
- Once everything is set, save the file then recycle your domains application pool through IIS to ensure the new values are used.