Thursday, September 13, 2012

My answer to "Updating LampCMS"

This is my answer to a Question on Support site for LampCMS project


It's not automatic. The easiest way is to start using the phar based installation.
With phar based installation you get one lampcms.phar file and also contents on the www directory which includes all templates and also a config directory with config files.

In 90% of updates changes are made only to the library classes and not to templates. Since all libraries are included in the lampcms.phar you will only need to replace the lampcms.phar with the new file. Also you will have to upload the new minified javascript file because every update to .phar file has slightly different version number and program will look for minified javascript that matches that version.

If you write custom plugins to Lampcms you don't have to worry about overriding them because plugins are stored in the config/plugins directory.