Changes

From SME Server
Jump to navigationJump to search
Line 56: Line 56:     
Let's delete the mysql custom-template in the RPM and document how to change both values to allow uploading larger files!
 
Let's delete the mysql custom-template in the RPM and document how to change both values to allow uploading larger files!
 +
 +
    
Cool34000
 
Cool34000
 
----
 
----
 +
I think you should restrict the affect to just the ocs directory
 +
 +
config setprop ocs MaxUpload 50M
 +
php_admin_value post_max_size $ocs{'MaxUpload'}
 +
php_admin_value upload_max_filesize $ocs{'MaxUpload'}
 +
expand-template /etc/httpd/conf/httpd.conf
 +
/etc/init.d/httpd-e-smith condrestart
 +
 +
$ocs{'MaxUpload'} default = 10M
 +
 +
yes delete /etc/e-smith/templates-custom/etc/my.cnf/005mysqld
 +
 +
stephen
 +
----
 +
 +
 +
you have to set a db value anyway so you may as well add it to the ocs fragment
    
=glpi=
 
=glpi=

Navigation menu