# Php max upload space

**URL:** <https://forum.infinityfree.com/t/php-max-upload-space/57291>\
**Category:** Hosting Support\
**Created:** [January 24, 2022, 9:56pm UTC](https://forum.infinityfree.com/t/php-max-upload-space/57291 "2022-01-24T21:56:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon13484394](https://forum.infinityfree.com/letter_avatar/anon13484394/32/6_449c533f586939b6e5f246632a46421f.png) [@anon13484394](https://forum.infinityfree.com/u/anon13484394)\
**Post date:** [January 24, 2022, 9:56pm UTC](https://forum.infinityfree.com/t/php-max-upload-space/57291/1 "2022-01-24T21:56:25Z")

</div>

### Username (e.g. epiz\_XXX) or Website URL

Epiz\_30894756

### Error Message

Cannot upload file because maximum upload space is 10 mb

### Other Information

Can I increase the maximum upload space? I edited the wp-config .htaccess and whatever was possible to increase the php-upload size but still 10mb. If I can’t upgrade I am going to look elsewhere. I mean I know it’s free hosting but come on 10mb I can’t even upload a proper image. How do I increase it?

---

<div class="post-metadata">

**Author:** ![wackyblackie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wackyblackie/32/43350_2.png) [@wackyblackie](https://forum.infinityfree.com/u/wackyblackie)\
**Post date:** [January 24, 2022, 10:06pm UTC](https://forum.infinityfree.com/t/php-max-upload-space/57291/2 "2022-01-24T22:06:09Z")

</div>

Sorry, but you can’t change the upload size. Upgrade to premium if you need a larger upload size.

An alternative is to compress the image. If you want to retain the image quality, use lossless compression. Only obnoxiously large images are over 10mb. You can also host the image on an image sharing site and embed it.

Hope this provides you some insight.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [January 25, 2022, 9:27am UTC](https://forum.infinityfree.com/t/php-max-upload-space/57291/3 "2022-01-25T09:27:02Z")

</div>

A “proper image” for a website should be a lot smaller than 10 MB. On a webpage, you’ll want to have images which are compressed, optimized and scaled down so they load quickly. Having to download 20 MP, uncompressed, lossless image data to view a web page will be very slow and not a great browsing experience for everyone.

Perhaps WordPress offers tools to optimize them, which you can’t use because of the upload limit. But then please optimize your image before uploading them to reduce their file size. Your visitors will be grateful for it.

---

<div class="post-metadata">

**Author:** ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)\
**Post date:** [January 25, 2022, 11:46am UTC](https://forum.infinityfree.com/t/php-max-upload-space/57291/4 "2022-01-25T11:46:47Z")

</div>

you could upload the full resolution image file to somewhere like google drive and have a scaled down smaller version on your website as a clickable image that takes the viewer to the full scale image on google drive ?

maybe this would be a workable solution ???

---

<div class="post-metadata">

**Author:** ![anon13726656](https://forum.infinityfree.com/letter_avatar/anon13726656/32/6_449c533f586939b6e5f246632a46421f.png) [@anon13726656](https://forum.infinityfree.com/u/anon13726656)\
**Post date:** [February 1, 2022, 11:15am UTC](https://forum.infinityfree.com/t/php-max-upload-space/57291/5 "2022-02-01T11:15:57Z")

</div>

thanks for the awesome information.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [February 8, 2022, 11:16am UTC](https://forum.infinityfree.com/t/php-max-upload-space/57291/6 "2022-02-08T11:16:53Z")

</div>

Closed on February 8, 2022, 11:16am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
