Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to modify max file size #520

Open
GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment
Open

Unable to modify max file size #520

GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Upload a file over ~2MB
2. You get HTML Error
3. It sends you to a blank "upload-process-form" page.

What is the expected output? What do you see instead?
I have modified > define('MAX_FILESIZE',2048); to 10000, and even after 
restarting PHP and NGINX, and even the server, I am still unable to upload 
large files.

What version of the product are you using? On what operating system?
I'm running the latest version on Ubuntu Linux 14.04, using an NGINX web server 
and php5-fpm.

Please provide any additional information below.
Please note, uploading files under 2MB works perfectly.

Original issue reported on code.google.com by [email protected] on 17 Jan 2015 at 9:48

@GoogleCodeExporter
Copy link
Author

I've resolved this. It was not an issue with my PHP or the ProjectSend config, 
it was the fact that I was missing two lines in my NGINX configuration:
        keepalive_timeout 10000;
        client_max_body_size 300M;

I hope this can help someone else.

Original comment by [email protected] on 17 Jan 2015 at 11:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant