Have you ever tried to upload a file in your WordPress site but encountered this error “The uploaded file exceeds the upload_max_filesize directive in php.ini.”?
Well, it is common especially when you or your developer have not specified the max file upload-size in php.ini.
This brief tutorial is to walk you through the steps you must follow to Increase the Maximum File Upload Size in WordPress.
Interesting? Let’s get started immediately!
1. First login to your cPanel server.Login with your username and password as shown in the above image and hit the login button.
2. Upon successful login, you will be redirected to the cPanel dashboard.
Scroll down to the software section and click Multi PHP INI Editor as circled below.
3. Select the home directory or a domain’s document root to open the corresponding PHP configuration.
Upon selecting the domain or home directory or domain’s document root, the editor will open the corresponding PHP configuration. See image below.
4. Scroll down and watchful, locate the upload_max_filesize. In the Settings of the upload_max_filesize, change whatever size, example 60M to whatever size you wish.
Please, make sure the as you can see from the image is not removed before saving your changes. The M means megabite.
Save your changes and logout. This is simple, isn’t it? Your comments and shares please.