Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Webshare
(view source)
Revision as of 02:37, 1 February 2008
750 bytes added
,
02:37, 1 February 2008
Added upload file size section & commands
Line 64:
Line 64:
yum remove smeserver-webshare
yum remove smeserver-webshare
yum remove perl-Apache-Htpasswd
yum remove perl-Apache-Htpasswd
+
+
+
==== Adjusting upload file size ====
+
+
Default php settings in sme server will severely limit the file upload size.
+
+
These can be adjusted by db commands, see
+
http://wiki.contribs.org/index.php?title=SME_Server:Documentation:Technical_Manual:Booklet#Php
+
+
To see the default settings do
+
config show php
+
+
The following commands will set a 50Mb file upload size.
+
+
As this includes system overheads, you should specify a value slightly larger than the maximum file size you wish to upload.
+
+
db configuration setprop php MaxExecutionTime 3600
+
db configuration setprop php MemoryLimit 50M
+
db configuration setprop php PostMaxSize 50M
+
db configuration setprop php UploadMaxFilesize 50M
+
expand-template /etc/php.ini
+
/etc/init.d/httpd-e-smith restart
=== Additional information ===
=== Additional information ===
RayMitchell
624
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version