[ 
https://issues.apache.org/jira/browse/AIRAVATA-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816222#comment-15816222
 ] 

Marcus Christie commented on AIRAVATA-1397:
-------------------------------------------

Another idea, set post_max_size and upload_max_filesize in PGA's .htaccess: 
https://www.a2hosting.com/kb/developer-corner/php/using-php-directives-in-custom-htaccess-files/setting-the-php-maximum-upload-file-size-in-an-htaccess-file

> PGA gateway needs to gracefully handle attempts to upload files that are too 
> large.
> -----------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-1397
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1397
>             Project: Airavata
>          Issue Type: Improvement
>            Reporter: Marlon Pierce
>            Assignee: Marcus Christie
>             Fix For: 0.17
>
>
> This is mostly a PHP problem.  File upload limits are specified in the 
> php.ini file (typically, /etc/php.ini).  The parameters upload_max_filesize 
> and post_max_size need to be modified to increase the size. 
> If post_max_size is exceeded, the operation will fail silently: PHP doesn't 
> complain, and PGA will not call the airavata clients.  If upload_max_filesize 
> is exceeded but not the post size limit, you will get errors.  It is 
> advisable to change both (as documented in the PGA's README.md file) and to 
> keep both the same value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to