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
Uploads limited to 2M #1365
Comments
I believe php5 is required to upgrade old systems. But only one php-fpm process should be running. Does rebooting help? (I assume you're doing this from Roundcube webmail, right?) |
I'm not sure why rebooting will help but I did it. It's still showing a php5 fpm and a php7 fpm:
|
I noticed that both /etc/php/7.0/cli/php.ini and /etc/php/7.0/fpm/php.ini had "upload_max_filesize=2M". Changed them both to 128M although I assume only the latter is necessary and restarted php7.0-fpm and uploads >2M now work. For completeness, I stopped the php5-fpm process. What is the best way to disable php5-fpm? |
I also have two php-fpm processes running. The output of "ps aux | grep php" looks exactly like the one from @zoof. |
When trying to upload an attachment, I'm getting "The uploaded file exceeds the maximum size of 2.0 MB." Not sure where the problem is, "/etc/php5/cli/php.ini" has "upload_max_filesize = 2M", "/etc/php5/fpm/php.ini" has "upload_max_filesize=16G". Upping the former does not fix it. In looking at running processes, there seem to be two php-fpm processes running, one with "/etc/php5/fpm/php-fpm.conf" and the other with "/etc/php/7.0/fpm/php-fpm.conf". Do all the php5 remnants need to be purged?
The text was updated successfully, but these errors were encountered: