WordPress makes uploading files easy because you can upload right into the interface without using any additional software. However, if you need to upload large images or multimedia files, you may find that you are unable to, because of the 2 MB limit for WordPress uploads. Fortunately, you can increase the limit by altering a few settings in your Web hosting account.
- Skill level:
Other People Are Reading
Access PHP Config. Log in to your cPanel account and scroll down to “Software and Services.” Next, click “PHP Configuration.”
Install the php.ini file. Once you are on this screen, click the button that says “Install PHP.INI Master File.”
Access the php.ini file. Go back to the cPanel main screen. Click “File Manager” and then “Webroot.” Find the file that says “php.ini” and select “Edit.”
Change the maximum file size. Once the configuration file opens, find the line that says “upload_max_filesize=” and change the file size to 300M. Also change the line that says “post_max_size=” to 300M.
Increase the time allowed. Find the lines that say “max_execution_time =30” and “max_input_time =60” and change them both to 120. This allows for the server to allow 120 seconds to execute, or load, scripts and parse data. This may be necessary if you are uploading large files.
Save the changes. Click the button that says “Save Changes.”
Test the settings. Log in to WordPress and try to upload a file that is greater than 2 MB but less than 100 MB. If you still receive an error message, contact your Web host.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for