AIRAVATA-1397 Set upload_max_filesize to 64M in .htaccess These settings in .htaccess override whatever is in /etc/php.ini. This provides a better out of the box default max upload size.
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/71f32f4e Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/71f32f4e Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/71f32f4e Branch: refs/heads/dreg-gateway Commit: 71f32f4ee5c3eb200750f22aaf45692f3d45c308 Parents: bc6ded0 Author: Marcus Christie <machris...@apache.org> Authored: Wed Jan 18 15:36:56 2017 -0500 Committer: Marcus Christie <machris...@apache.org> Committed: Wed Jan 18 15:36:56 2017 -0500 ---------------------------------------------------------------------- public/.htaccess | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/71f32f4e/public/.htaccess ---------------------------------------------------------------------- diff --git a/public/.htaccess b/public/.htaccess index 77827ae..6963271 100755 --- a/public/.htaccess +++ b/public/.htaccess @@ -13,3 +13,8 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> + +# Allow uploading files up to 64MB in size. +# NOTE: if you change one of these values you will need to change the other one likewise. +php_value upload_max_filesize 64M +php_value post_max_size 64M \ No newline at end of file