Adjusting the File Upload or Post Size | HostGator Support
  1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Adjusting the File Upload or Post Size

Adjusting the File Upload or Post Size

For VPS and Dedicated customers who are using a PHP script and want to increase the "post size" or the "size of a file I can upload", then you want to adjust your settings in php.ini.
  1. Locate your php.ini file. If you do not have one or know where to look, please read the related article to learn more about php.ini.
  2. Edit that file and locate the "upload_max_filesize" and "post_max_size" settings.
  3. The values to the right of the = (equal sign) need to be increased.
  4. Save and enjoy.
For Shared Hosting, refer to the article, PHP Settings that Cannot be Changed for important information on PHP Settings.