Changes

From SME Server
Jump to navigationJump to search
→‎3) Increase file size limit in PHP.: added code on how to change memory limit if one is using PHP Software Collections
Line 257: Line 257:        +
++ This code makes changes to default PHP installation. If you are using [[PHP Software Collections]] (As suggested in step '''A7''') see below.
 
   db configuration setprop php MemoryLimit 128M
 
   db configuration setprop php MemoryLimit 128M
 
   db configuration setprop php PostMaxSize 112M
 
   db configuration setprop php PostMaxSize 112M
Line 263: Line 264:  
   sv t httpd-e-smith
 
   sv t httpd-e-smith
   −
Sidenote: To see how to change file size limits for other aplications, see here: http://wiki.contribs.org/Email#Set_max_email_size  
+
Sidenote: To see how to change file size limits for other applications, see here: http://wiki.contribs.org/Email#Set_max_email_size  
 
      +
++ If you are using [[PHP Software Collections]], use this code. If you are using different PHP version than php56, you can replace that section with version you are using for your iBay.<syntaxhighlight>
 +
db configuration setprop php56 MemoryLimit 128M
 +
db configuration setprop php56 PostMaxSize 112M
 +
db configuration setprop php56 UploadMaxFilesize 96M
 +
signal-event php-update
 +
</syntaxhighlight>
    
Good Luck
 
Good Luck
175

edits

Navigation menu