Installation


System Requirements
Via Composer
Downloading
Upgrade from previous versions
Troubleshooting

System Requirements

  • Gliver Framework requires PHP version 5.4 or greater to run. In order to avoid broken functionality or code and opening security holes in your application, upgrade to version >=5.4.

Downloading Gliver

One option of installing Gliver framework is to download the source code directly to your local hard drive and run it! This will always give you the latest stable version of Gliver. Most of the time the source has the most upto date code, but to ensure you are using the latest versions of all the dependencies and Helper classes, you can run a composer update from the root of your installation to get the framework core to latest stable distribution. Once you download or install Gliver, run the folder itself in this manner localhost/gliver

Via Composer

You can as well install Gliver framework directly using Composer without having to manually download anything! Composer is a package management tool for PHP applications. Note that you will need to have composer installed on your computer in order to do this installation with success. For a more detailed instruction on how to install composer, look at this documentation

Create an installation of Gliver using the create-project command, specifying the Gliver framework name on packagist and the name of the directory in which to install Gliver

composer create-project gliver/core myapp

This command would download the latest stable version of Gliver framework and all dependencies and install them in the directory myapp. You can change the name of the directory to your directory of choice, or better still rename it after installation... This might be the best way to install Gliver!

Upgrading from previous versions

The Gliver core code resides in the system directory. Once you application is up and running and there are updates that you would like to incorporate into your application download the Gliver framework core and replace the contents of the system directory with the contents of the system directory freshly downloaded, forget about the rest of the code: that's all you need for this purpose! Thought there was more work to it? No. You are done!

If you would like to fetch updates for the Gliverich console commands run composer update

Troubleshooting

Something not working right might mean a number of things with either your application or your server environment, assuming your server is up and running...

  • Error display is turned off by default, but every error message is always logged into a log file located here bin/logs/error.log. You can however change this by setting dev environment to true in the config.php file.
  • When running your installation, only specify the installation directory, don't mention the public folder. If this gives you a blank page : check that your server software is up and running, blank page still? Check that the directory name you specified is the correct name of your installation directory, blank page still? Check that you have enabled mode rewrite rule in your php.ini file, no success Roger? Check the error message in your error.log file found here bin/logs/error.log. Nothing in your error log file, gotcha! Enable write permission in your installation directory and there you go!