I've set main.cf in postfix, php.ini, and nginx.conf to an 8M file upload limit but Roundcube still states a 2M limit. Is there somewhere else I need to specify this?
Am 2014-02-14 03:01, schrieb Grant:
I've set main.cf in postfix, php.ini, and nginx.conf to an 8M file upload limit but Roundcube still states a 2M limit. Is there somewhere else I need to specify this?
- Grant
Hello,
nginx uses fpm, so you have to set the upload limit in /etc/php5/fpm/php.ini (Debian system...others may have a different location)
Best regards
Martin
On 2014-02-14 03:01, Grant wrote:
I've set main.cf in postfix, php.ini, and nginx.conf to an 8M file upload limit but Roundcube still states a 2M limit. Is there somewhere else I need to specify this?
in your php.ini it have a safe default for all webpages on server, in roundcube you extend that default safe to more so it can use max msg size in mta, so in outher words check .htaccess file in roundcube webroot dir
you should limit default in php.ini to be much less then what is in the roundcube upload max
I've set main.cf in postfix, php.ini, and nginx.conf to an 8M file upload limit but Roundcube still states a 2M limit. Is there somewhere else I need to specify this?
- Grant
Hello,
nginx uses fpm, so you have to set the upload limit in /etc/php5/fpm/php.ini (Debian system...others may have a different location)
It's /etc/php/fpm-php5.5/php.ini on Gentoo.
On 2014-02-15 20:21, Grant wrote:
It's /etc/php/fpm-php5.5/php.ini on Gentoo.
why unlimit it on global settings in php.ini ?, roundcube comes with .htaccess files that make it possible to just setup the roundcube webmail for more post data on that host, default in php.ini should be small on global web, but can be more unlimted in roundcube since mta still have a limit
Am 2014-02-15 20:29, schrieb Benny Pedersen:
On 2014-02-15 20:21, Grant wrote:
It's /etc/php/fpm-php5.5/php.ini on Gentoo.
why unlimit it on global settings in php.ini ?, roundcube comes with .htaccess files that make it possible to just setup the roundcube webmail for more post data on that host, default in php.ini should be small on global web, but can be more unlimted in roundcube since mta still have a limit
The "I am designed for efficiency webserver" nginx is in use, so htaccess is not used.
On 2014-02-15 21:01, Martin Mazur wrote:
The "I am designed for efficiency webserver" nginx is in use, so htaccess is not used.
fair, but all i say is that this limit should only be lifted on roundcube not lifted global on all sites this server servs
if it only runs roundcube web, then it can be done global in php.ini
how is pr site done in nagios ?