adsense

How to Upload Files to WordPress Larger Than 2Mb





1. Access PHP Config. Log in to your cPanel account and scroll down to “Software and Services.” Next, click “PHP Configuration.”
2. Install the php.ini file. Once you are on this screen, click the button that says “Install PHP.INI Master File.”

3. 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.”
4. 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.
5. 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.
6. Save the changes. Click the button that says “Save Changes.”
7. 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.

Comments

0 Responses to "How to Upload Files to WordPress Larger Than 2Mb"

Post a Comment

Popular Posts

About