Need to increase your max file upload size in WordPress? Making changes to the limits in your php.ini file can increase limits for max file size upload and post max file size.
If you have large video files, this is one way to make sure you can upload them to your WordPress Media Library rather than directly to your server.
To perform any of these actions, you’ll need to add a php.ini file and edit this file if you don’t already have one installed.
Once you install and increase the upload limits in your php.ini file you’ll also need to increase the post max file size which needs to be greater than the limit of your file upload size.
Here’s a menu of the different sections of this post:
- How To Install a php.ini file – Copy PHP.INI Master File
- How To Increase Upload Limit
- How To Increase Post Max file Size
- Login to cPanel and scroll down to the Software/Services section
- Click on the PHP.Config icon
- Scroll down to the Install Default php.ini section and check mark the “IonCube” and the “SourceGuardian” boxes.
- Click the “INSTALL PHP.INI MASTER FILE” button.
- Rename the “php.ini.default” file to ”php.ini” and your done.
- There’s more info including screenshots on how to INSTALL PHP.INI MASTER FILE
- Open your php.ini file using File Manager in cPanel. You can also use FTP and a text editor like Notepad ++
- Navigate to Line 573 (May be a different line number depending on your web hosts setup)
- Edit the limit to any size up to a max of 100M and save the changes. (You will also need to increase the post max file size)
- Open your php.ini file using File Manager in cPanel.
- Navigate to Line 468
- Edit the limit to a max of 100M and save the changes
Increasing your upload limits in WordPress will enable you to upload large files to your media library including videos. If you are NOT familiar with editing php files then i suggest you contact your web host who should complete this for you.Subscribe for new Genesis Tutorials