Difference between revisions of "DB Variables Configuration"

From SME Server
Jump to navigationJump to search
Line 10: Line 10:
 
**Make the custom directory
 
**Make the custom directory
 
**Copy the original template file to custom directory
 
**Copy the original template file to custom directory
**Modify the file
+
**Modify the file and save
 
**Expand
 
**Expand
 
**Restart service
 
**Restart service
Line 17: Line 17:
 
With DB Variables:
 
With DB Variables:
  
*The same example above, but with dbvar
+
*The same example above, but with dbvar, execute the following command, expand and restart. In some configuration not need to restart because some signal-event make the necesary expansion and service restart, for example ibay-modify
**
+
**db dbfile setprop key prop1 val1
db dbfile setprop key prop1 val1
+
**Expand
 +
**Restart
 +
 
 +
 
 
db configuration setprop PHP MemoryLimit 64
 
db configuration setprop PHP MemoryLimit 64

Revision as of 06:59, 30 March 2007

Please don't edit, I have not finished yet.

SME7 come with the most used parameters set as variables. These variables are used for pass values to final configuration files. Please, read the Gordon's devguide to understand the template and DB process.

These variables are useful to configure your system simply.

Without DB Variables you must following this process:

  • If you need to modify a PHP.INI parameter, usually you need to create a custom-template file, and expand.
    • Make the custom directory
    • Copy the original template file to custom directory
    • Modify the file and save
    • Expand
    • Restart service


With DB Variables:

  • The same example above, but with dbvar, execute the following command, expand and restart. In some configuration not need to restart because some signal-event make the necesary expansion and service restart, for example ibay-modify
    • db dbfile setprop key prop1 val1
    • Expand
    • Restart


db configuration setprop PHP MemoryLimit 64