en | ru

Installation

To install RedButton you need a server with PHP 5.2 or higher.

In addition, you can run website generator RedButton with home computer using a local web server. Among the variety of local (virtual) web server, we recommend Open Server. He is very comfortable and best suited for working with RedButton.

Installing to server

Requirements:

  1. Apache
  2. PHP 5.2 and higher
  3. Installed ionCube Loader (usually already pre-installed)
  4. Disabled SafeMode

Installing the website generator is simply copying folders to the server. So that it runs on about this address: http://www.example.com/redbutton/. It is not recommended to put website generator once in the site root (no folders redbutton), as in this case, there may be problems with permissions.

Once you have copied website generator the server, you must:
  1. set 777 permissions on the folder "data" and all of the folders and files that are put into it at all levels (except for the file. htaccess).
  2. set 777 permissions on the folder "licenses"

Installing to local Open Server

Local web server Open Server most suited to run red.Button with a conventional computer.
  1. Copy the folder with website generator RedButton in "folder to sites" of Open Server. For example: D:\openserver\domains\localhost\redbutton.
  2. Make sure that the settings of the selected version of the PHP 5.3.x (Settings -> Modules -> PHP module), and as the servers Apache.

Installation on Linux (Ubuntu)

Type in console:
cd /usr/local

For 64 bit operation system:

Download IonCube:
sudo wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

Installation IonCube:
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz echo "zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so" | sudo tee /etc/php5/conf.d/ioncube.ini sudo /etc/init.d/apache2 restart

For 32 bit operation system:

Download IonCube:
sudo wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

Installation IonCube:
sudo tar xzf ioncube_loaders_lin_x86.tar.gz echo "zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so" | sudo tee /etc/php5/conf.d/ioncube.ini sudo /etc/init.d/apache2 restart

Checking:
php -v

If done right, we see the following:
PHP 5.3.3-1ubuntu9.7 with Suhosin-Patch (cli) (built: Dec 13 2011 17:53:04) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.

Installing the website generator is simply copying folders to the server. So that it runs on about this address: http://www.example.com/redbutton/. It is not recommended to put website generator once in the site root (no folders redbutton), as in this case, there may be problems with permissions.

Once you have copied website generator the server, you must:
  1. set 777 permissions on the folder "data" and all of the folders and files that are put into it at all levels (except for the file. htaccess).
  2. set 777 permissions on the folder "tmp"