Increase WordPress upload limit

[fusion_builder_container hundred_percent=”no” hundred_percent_height=”no” hundred_percent_height_scroll=”no” hundred_percent_height_center_content=”yes” equal_height_columns=”no” menu_anchor=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” background_color=”” background_image=”” background_position=”center center” background_repeat=”no-repeat” fade=”no” background_parallax=”none” enable_mobile=”no” parallax_speed=”0.3″ video_mp4=”” video_webm=”” video_ogv=”” video_url=”” video_aspect_ratio=”16:9″ video_loop=”yes” video_mute=”yes” video_preview_image=”” border_size=”” border_color=”” border_style=”solid” margin_top=”” margin_bottom=”” padding_top=”” padding_right=”” padding_bottom=”” padding_left=””][fusion_builder_row][fusion_builder_column type=”1_1″ spacing=”” center_content=”no” link=”” target=”_self” min_height=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” background_color=”” background_image=”” background_position=”left top” background_repeat=”no-repeat” hover_type=”none” border_size=”0″ border_color=”” border_style=”solid” border_position=”all” padding=”undefined” dimension_margin=”undefined” animation_type=”” animation_direction=”left” animation_speed=”0.3″ animation_offset=”” last=”no”][fusion_text columns=”” column_min_width=”” column_spacing=”” rule_style=”default” rule_size=”” rule_color=”” class=”” id=””]

If you’re getting the WordPress error message:
“.pdf exceeds the maximum upload size for this site.”
You’re trying to upload a file to WordPress that’s too big. You can fix this by increasing the max filesize upload limit for your hosting account. This solution is for Windows users who have a Linux hosting account. Most websites are built on Linux hosting.

Increase max filesize upload limit for your hosting account:

1. In Windows, open the program Notepad.

2. Enter this text into the Notepad document:
upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 300

3. Save the file as php.ini.

4. Using FTP or cPanel, upload php.ini to the root directory(public_html) of your hosting account.

5. The php.ini changes won’t take effect until a new site visit is detected. Since you probably visited the site recently(and your IP was cached), refreshing the page won’t work. try visiting the site in Chrome incognito mode or use a proxy service to fake a new site visitor and refresh the page.

GreenixMedia hosting accounts allow easy access via cPanel to adjust these settings, or with our Management plans, we take care of that for you.

[/fusion_text][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.