Difference between revisions of "DB Variables Configuration"

From SME Server
Jump to navigationJump to search
Line 19: Line 19:
 
*The same example above, but with dbvar
 
*The same example above, but with dbvar
 
**
 
**
 +
db dbfile setprop key prop1 val1
 +
db configuration setprop PHP MemoryLimit 64

Revision as of 05:56, 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
    • Expand
    • Restart service


With DB Variables:

  • The same example above, but with dbvar

db dbfile setprop key prop1 val1 db configuration setprop PHP MemoryLimit 64