salesagility / SuiteCRM-Core

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
179 stars 131 forks source link

Upload max size error on install #500

Open MauriceHandwerker opened 5 months ago

MauriceHandwerker commented 5 months ago

Issue

When installing SuiteCRM 8 i have the upload_max_size error saying that it needs to be atleast 6MB. I changed everything in the php.ini`s so it should work.

Now it says that the upload_max_size should be 6MB and I currently have 4GB (thats what I set in the php.ini) image

For some reason it doesent work. I tried many different sizes (6MB, 1GB, 5GB, 10MB) nothing worked.

And I restarted apache on every change to the php.ini. (I changed the post_max_size to the same as the upload_max_size everytime)

Possible Fix

No response

Steps to Reproduce the Issue

1. Follow the instructions in the documentation?

Context

No response

Version

8.6.0

What browser are you currently using?

Chrome

Browser Version

Chrome (latest version)

Environment Information

MariaDB (latest), PHP 8.2

Operating System and Version

Debian 12

pgorod commented 5 months ago

What is the full path to the php.ini that you edited?

You need to make sure you're editing the correct one, there can be several.

MauriceHandwerker commented 5 months ago

I checked that already with the phpinfo. /etc/php/8.2/apache/php.ini and /etc/php/8.2/cli/php.ini

chris001 commented 5 months ago
  1. Try these values in your php.ini and report back your results:

    post_max_size = 100M
    upload_max_filesize = 100M
    memory_limit = 512M
    file_uploads = On
    max_execution_time = 180

    And reload apache with the command: sudo systemctl reload apache2

  2. If that fails, then create a new file .user.ini, copy paste the values into that file, save it in the base directory of your Suite install, in the same directory containing the file index.php. Wait up to 5 minutes for the settings to take effect - apache only detects values from .user.ini every 5 minutes. Report back your results.

shubham-pawar commented 2 months ago

@MauriceHandwerker

For Apache:

sudo systemctl restart apache2

For Nginx with PHP-FPM:

sudo systemctl restart php8.2-fpm