Hi all,
I want to limit the file size every user can upload to 1GB.
I set in php.ini
post_max_size = 1G
upload_max_filesize = 1G
phpinfo() show me that I’m modifing the correct php.ini and I can see the values I set.
But this configuration doesn’t work and I can upload bigger files.
Any suggestion will be appreciated.
Thank you
Nextcloud version 12.0.0.29:
Operating system and version Ubuntu 16.04:
Apache or nginx version Apache 2.4.18:
PHP version 7.0.15 FPM:
Here my config.php
<?php
$CONFIG = array (
'instanceid' =>
'passwordsalt' =>
'secret' =>
'trusted_domains' =>
array (
0 => 'dev12.quidrive.com',
1 => '172.28.15.13',
),
'datadirectory' => '/opt/data',
'overwrite.cli.url' => 'https://dev12.quidrive.com',
'dbtype' => 'mysql',
'version' => '12.0.0.29',
'dbname' => 'quidrive',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => '',
'mysql.utf8mb4' => true,
'dbuser' => 'quidrive',
'dbpassword' => ,
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'dbindex' => 0,
),
'skeletondirectory' => '/home/httpd/quidrive/current/public/themes/quidrive/core/skeleton/',
'theme' => 'quidrive',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
);