Closed
Bug 466738
Opened 16 years ago
Closed 16 years ago
Set PHP directives for Community Store
Categories
(Websites :: communitystore.mozilla.org, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.0
People
(Reporter: abuchanan, Unassigned)
References
Details
We'll need to set some PHP directives for large uploads. These can be set per directory, either in php.ini or apache directives. This should be done for both community-store.authstage.m.c and the upcoming production site
upload_max_filesize should be 20M
post_max_filesize should be 20M
in apache conf, this can be done like...
php_value upload_max_filesize 20M
php_value post_max_filesize 20M
Thanks
Comment 1•16 years ago
|
||
More info on this:
We are seeing blank uploads for some large files here: http://community-store.stage.mozilla.com/upload.
We need to change any configuration for Apache and PHP to allow large file uploads. Off the top of my head I can think of:
max_input_time - Uploads could take a few mins on dialup, so 5 mins?
post_max_size
Could we set these in a .htaccess file? If so, we can do it on our side.
Severity: major → blocker
Comment 2•16 years ago
|
||
Memory limit might need to be increased too.
Comment 3•16 years ago
|
||
Guys this is probably not a blocker. A critical maybe.
Assignee: server-ops → aravind
| Reporter | ||
Comment 4•16 years ago
|
||
added...
php_value upload_max_filesize 20M
php_value post_max_filesize 20M
to docroot/.htaccess in r20293
I think we can change any settings we need for now in .htaccess, so closing this.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
Upped memory_limit to 60M in .htaccess file, not sure yet if it will fix it.
Assignee: aravind → nobody
Severity: blocker → critical
Status: RESOLVED → REOPENED
Component: Server Operations → communitystore.mozilla.org
Product: mozilla.org → Websites
QA Contact: mrz → communitystore-mozilla-org
Resolution: FIXED → ---
Target Milestone: --- → 1.0
Comment 6•16 years ago
|
||
Upped memory limit to 500m, which fixed the problem.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Comment 7•16 years ago
|
||
500MB? that sounds pretty excessive...
oremj, thoughts?
Comment 8•16 years ago
|
||
We needed it that high because users are uploading images and they are being resized. Large images (4-5MB) went beyond 60MB and 250MB.
I'm all ears for other options for resizing images that don't need as much memory.
You need to log in
before you can comment on or make changes to this bug.
Description
•