Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload max size error on install #500

Open
MauriceHandwerker opened this issue Jun 7, 2024 · 4 comments
Open

Upload max size error on install #500

MauriceHandwerker opened this issue Jun 7, 2024 · 4 comments
Labels
Status:Requires Updates Issues & PRs which requires input or update from the author Type: Bug Something isn't working

Comments

@MauriceHandwerker
Copy link

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

@MauriceHandwerker MauriceHandwerker added the Type: Bug Something isn't working label Jun 7, 2024
@pgorod
Copy link
Contributor

pgorod commented Jun 7, 2024

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
Copy link
Author

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

@chris001
Copy link
Contributor

chris001 commented Jun 8, 2024

  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

  1. 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.

@gemartin21 gemartin21 added the Status:Requires Updates Issues & PRs which requires input or update from the author label Jun 19, 2024
@shubham-pawar
Copy link

shubham-pawar commented Sep 5, 2024

@MauriceHandwerker

For Apache:

sudo systemctl restart apache2

For Nginx with PHP-FPM:

sudo systemctl restart php8.2-fpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Requires Updates Issues & PRs which requires input or update from the author Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants