Forgot password?
Welcome to our site!
Or Join with FTTF

Updating LampCMS


Once LampCMS is installed, what's the process of updating it to a new release? Is it automated or a manual process?
asked September 13, 2012 at 5:13 PM


3 Answers

The phar-based installation instruction is not in the zip files from GitHub or the download page. Is that going to be updated?
answered September 20, 2012 at 4:46 AM
Yes, but for now just upload a lampcms.phar anywhere to your server and include full path to it in bootstrap.php There is a commented out line for it, just uncomment and define your path to .phar file define('LAMPCMS_PHAR', '/full/path/to/lampcms.phar');
Sep 24, 2012 06:11 PM
Could you provide more info on the phar-based installation. I'm going to install on my site tonight, so any help will be appreciated.
answered September 13, 2012 at 6:46 PM
I will upload new release on Saturday or Sunday. It will include several bug fixes as well as a .phar archive. Also the zip file will include the INSTALL.txt with instructions
Sep 13, 2012 07:02 PM
This is the reason why a comment should count just like an answer. Your comment did not cause this post to move up on the index page, which I think it should. What do you think?
Sep 14, 2012 03:52 AM
@Dmitri Snytkine
In other words, if I did not click on the post, I would not have known that you added a comments, even though the comment saved me from installing the current version, when a new one is due in a couple of days.
Sep 14, 2012 04:11 AM
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.
answered September 13, 2012 at 6:31 PM

Your answer

Join with account you already have