Getting phpRedExpert installed and ready-to-go should only take a few minutes.

Requirements

Installing phpRedExpert is easy and straight-forward, but there are a few requirements you’ll need to make sure your system has before you start and probably you already have them all.

PHP

  • PHP needs to be a minimum version of PHP 5.3.3
  • PhpRedis extension needs to be a minimum version of 2.2.3
  • JSON extension needs to be enabled
  • ctype extension needs to be enabled
  • Your php.ini needs to have the date.timezone setting

You can easily see if your system passes all requirements by running following command in the phpRedExpert's root directory:

$ php app/check.php

Redis

phpRedExpert supports Redis 2.6 or newer.

Web browser

To access phpRedExpert you can use Safari, Chrome, Firefox, Opera or IE9+ browser with JavaScript enabled.

Installation

There are 2 ways to get phpRedExpert up and running.

Install with Composer

The best way to install phpRedExpert is via Composer. At the terminal prompt, simply run the following command to install phpRedExpert:

$ composer create-project eugef/phpredexpert [path]

If the path does not currently exist, it will be created during installation. All of phpRedExpert’s dependencies are automatically installed by the above command, so you won’t have to worry about them at all.

Download a Release archive

Or you can download the latest release archive "phpRedExpert-xxx.tar.gz" from the phpRedExpert Releases page.

Put the tarball under your local web server's root directory and unpack it (replacing xxx with your actual version):

$ tar zxvf phpRedExpert-xxx.tar.gz

All of phpRedExpert’s dependencies are already included in the release archive.

Securing your installation

Make sure access to the phpRedExpert website is restricted by IP address and/or by authentication. This is critical for security as phpRedExpert doesn't provide authentication itself. With Apache you can use .htaccess file for this.

SSL/TLS is highly recommended to encrypt the whole connection.

Your configuration file app/parameters.yml should be chmod 660.

All your phpRedExpert files should be chown -R myuser:www-data, where myuser is a user whose password is only known to you, and www-data is the group under which Apache runs.

Follow security recommendations for PHP and webserver.