Tips- Three Easy Steps To Increase Your Maximum File Upload Size In WordPress

Forums Blogging Tutorial Tips- Three Easy Steps To Increase Your Maximum File Upload Size In WordPress

This topic contains 0 replies, has 1 voice, and was last updated by  Anonymous 2 years, 2 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2151

    Anonymous

    Hello fellow Shouters members, are you having curiousity on how to Increase the Maximum File Upload Size in WordPress?? Its so annoying for your hosting company to provide File upload size that is as low as 2MB which is clearly not enough for media files like (audio / video). Most pictures are under 2MB which is fine/okay for just pictures. So in this case, the need to Increase your Maximum File Upload is highly needed.

    In this article, am gonna show you how to increase the maximum file upload size in WordPress.

    How to Increase the Maximum File Upload Size in WordPress

    Note:

    This is an intermediate level tutorial. It may not work with some shared hosts in which case you would have to ask your hosting service provider for support. We use HostGator, and they are more than helpful when it comes to issues like this. So kindly seat back and follow this article.

    1:

    Theme Functions File

    There are cases where we have seen that just by adding the following code in the theme function’s file, you can increase the upload size:
    @ini_set(‘upload_max_size’,’64M’); @ini_set(‘post_max_size’,’64M’); @ini_set(‘max_execution_time’,’300′);

    2. Create or Edit An Existing PHP.INI file

    In most cases if you are on a shared host, you will not see a php.ini file in your directory. then you’re expected to create a file called php.ini and upload it in the root folder. In that file add the following code:

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    This method is reported to work for many users. Remember if 64 doesn’t work. Try 10MB (sometimes that work).
    3.

    Htaccess Method

    Some people have tried using the htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:
    php_value upload_max_filesize 64M
    php_value post_max_size 64M php_value max_execution_time 300
    php_value max_input_time 300
    NOTE- If you are on a shared hosting package, then these techniques may not work. In that case, you’re expected to contact your web hosting provider to increase the limit for you and am pretty sure they will do so because you’re their client.

    Drop your testimony via comment box.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.