{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/14748","labels_url":"https://api.github.com/repos/owncloud/core/issues/14748/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/14748/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/14748/events","html_url":"https://github.com/owncloud/core/issues/14748","id":60284345,"number":14748,"title":"File handling in admin: Also write to .user.ini","user":{"login":"RealRancor","id":2248459,"avatar_url":"https://avatars.githubusercontent.com/u/2248459?v=3","gravatar_id":"","url":"https://api.github.com/users/RealRancor","html_url":"https://github.com/RealRancor","followers_url":"https://api.github.com/users/RealRancor/followers","following_url":"https://api.github.com/users/RealRancor/following{/other_user}","gists_url":"https://api.github.com/users/RealRancor/gists{/gist_id}","starred_url":"https://api.github.com/users/RealRancor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealRancor/subscriptions","organizations_url":"https://api.github.com/users/RealRancor/orgs","repos_url":"https://api.github.com/users/RealRancor/repos","events_url":"https://api.github.com/users/RealRancor/events{/privacy}","received_events_url":"https://api.github.com/users/RealRancor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T00:11:27Z","updated_at":"2015-03-09T00:48:35Z","closed_at":null,"body":"Hi,\r\n\r\nit seems that the \"file handling\" input box in the admin backend to set a specific upload size is currently only writing to the .htaccess file: https://github.com/owncloud/core/blob/v8.0.0/lib/private/files.php#L217-L273\r\n\r\nAs newer OC versions are also shipping a .user.ini for other environments like fcgi the function probably could be extended to also write to this file."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/77785591","html_url":"https://github.com/owncloud/core/issues/14748#issuecomment-77785591","issue_url":"https://api.github.com/repos/owncloud/core/issues/14748","id":77785591,"user":{"login":"shoeper","id":5340585,"avatar_url":"https://avatars.githubusercontent.com/u/5340585?v=3","gravatar_id":"","url":"https://api.github.com/users/shoeper","html_url":"https://github.com/shoeper","followers_url":"https://api.github.com/users/shoeper/followers","following_url":"https://api.github.com/users/shoeper/following{/other_user}","gists_url":"https://api.github.com/users/shoeper/gists{/gist_id}","starred_url":"https://api.github.com/users/shoeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoeper/subscriptions","organizations_url":"https://api.github.com/users/shoeper/orgs","repos_url":"https://api.github.com/users/shoeper/repos","events_url":"https://api.github.com/users/shoeper/events{/privacy}","received_events_url":"https://api.github.com/users/shoeper/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T00:48:35Z","updated_at":"2015-03-09T00:48:35Z","body":"I'd also recommend to set 1MB larger value for max post size than for max upload size. When both have the same values uploading a file with the exact value will fail because the headers also need some bytes.\r\n\r\nFurthermore a warning stating that it can take up to user_ini.cache_ttl seconds till the new value is taking effect, when user ini is used would be nice."}}