Jump to content

how to change theme upload size limit


Fierce God

Recommended Posts

You might find this is limited by your host php.ini settings.

To check this, can you edit a member group to see if it will let you set this higher than 2mb for uploads ?

As an alternative and possibly quicker: On the main ACP page, scroll down to the Support link and click that. Then on the right in the 'System Info' box click the tiny text 'php info' , on the page that opens use your browsers find (usually CTRL+F on a Windows machine, unsure what a Mac would use) to search for 'upload_max_filesize' and 'post_max_size'

If either or both of these are at 2MB you need to contact your host to have them increased. :) They should be able to do this for you or tell you how to D.I.Y it via a local php file or suchlike , the methods vary a bit depending on the server configuration.

 

Link to comment
Share on other sites

You have to configure post_max_size and upload_max_filesize on the PHP configuration of the server you currently hosted your community.

Are you an IPS Community in the Cloud or Self-hosted Client? If you are the first (Community in the Cloud), just open a support ticket and let the IPS staff team do for you.

If you are Self-hosted client, Do you able to fully managed your web server (Cloud, VPS or dedicate server) or you hosted your community on a shared environment?

The easiest way to change these PHP configuration is through php .user.ini file.

All you need to do is just create a file named “.user.ini” (without quotes) on the root folder of your community and add these values into the file:

post_max_size = 100M
upload_max_filesize = 100M

which describe how big of files (in Megabytes) you would like to be able to upload on your community. Then save it. After that, you have to restart your web server (by yourself or contact your hosting provider) Then, go to ACP > Support > phpinfo to see if the value yot set (in green box) is successfully changed or not.

phpinfo1.thumb.png.ae483feafe8982ccd33c78ad1840bb28.png

phpinfo2.thumb.png.ecb6af79f8656388939a69808f0f6521.png

If you are unable to do this, contact your hosting provider and ask them you need to change those PHP configuration. Hope this help.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...