Changes

From SME Server
Jump to navigationJump to search
215 bytes removed ,  09:35, 28 March 2011
m
No need for grepping, just set the memory limits.
Line 80: Line 80:     
=== Change memory limits ===
 
=== Change memory limits ===
If needed you can modify the upload limit, first command is to find the current size second is to change
+
Below commands will set the required settings for PHP to support running Gallery3.
   −
grep memory_limit /etc/php.ini
  −
memory_limit = 32M
   
  db configuration setprop php MemoryLimit 128M
 
  db configuration setprop php MemoryLimit 128M
  −
grep post_max_size /etc/php.ini
  −
post_max_size = 20M
   
  db configuration setprop php PostMaxSize 112M
 
  db configuration setprop php PostMaxSize 112M
  −
grep upload_max_filesize /etc/php.ini
  −
upload_max_filesize = 10M
   
  db configuration setprop php UploadMaxFilesize 96M
 
  db configuration setprop php UploadMaxFilesize 96M
 
   
 
   
 
  expand-template /etc/php.ini  
 
  expand-template /etc/php.ini  
  /etc/rc7.d/S86httpd-e-smith restart
+
  sv t httpd-e-smith
    
== Start gallery ==
 
== Start gallery ==

Navigation menu