Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2018

    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

    Happy Learning

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

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 to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.