Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2018
    Posts
    31

    Smile To Increase the upload size in .htaccess

    In an .htaccess file in the same directory as the script, include this line:

    php_value upload_max_filesize

    where is the size of the allowable upload. For example, if the desired filesize is 5 meg, the following directive would be placed in the .htaccess:

    php_value upload_max_filesize 5M

    If you get a 500 Error add this code inĀ your php.ini file and place it in your root folder

    upload_max_filesize = 5M
    post_max_size = 5M

    then add this code in your .htaccess in your root folder

    suPHP_ConfigPath /home/username/public_html
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>


    Happy Learning

  2. #2
    Junior Member
    Join Date
    Aug 2017
    Posts
    4
    Nice job, useful post

  3. #3
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,855
    Log in to your account using SSH.
    Use a text editor to add the following line to the .htaccess file. ...
    Add the following line to the .htaccess file. ...
    Save the changes to the .

  4. #4
    Junior Member
    Join Date
    Sep 2020
    Posts
    26
    If you are using cpanel then you can directly increase upload size from cpanel option MultiPHP INI Editor.
    1. Login to cpanel
    2. Click on MultiPHP INI Editor
    3. Here choose required domain name and then enter the new limit of upload size.
    4. After that click on Save changes.

    These changes worked for me and that's why i am recommending this option.
    You can get more details through this from here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.