Merge branch 'master' of github.com:cachethq/cachet
This commit is contained in:
@@ -2,7 +2,14 @@
|
||||
|
||||
Cachet is an open source replacement to [StatusPage.io](https://statuspage.io) written in PHP and the [Laravel](http://laravel.com) framework.
|
||||
|
||||
You need at least PHP, [Composer](https://getcomposer.org/) and the `php-mcrypt` extension installed to run Cachet.
|
||||
You need at least PHP >= 5.4, [Composer](https://getcomposer.org/) and the following PHP extensions installed to run Cachet:
|
||||
|
||||
- `php-mcrypt`
|
||||
- `php-mbstring`
|
||||
- `php-apc`
|
||||
- `php-xml`
|
||||
- `php-pdo`
|
||||
- A database driver for your DB, such as `php-mysql`
|
||||
|
||||
# Table of contents
|
||||
|
||||
|
||||
@@ -1,28 +1,26 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class AlterTableSettingsValueLongText extends Migration {
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
DB::statement("ALTER TABLE settings CHANGE `value` `value` LONGTEXT;");
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
DB::statement("ALTER TABLE settings CHANGE `value` `value` TEXT;");
|
||||
}
|
||||
class AlterTableSettingsValueLongText extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
DB::statement("ALTER TABLE settings CHANGE `value` `value` LONGTEXT;");
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
DB::statement("ALTER TABLE settings CHANGE `value` `value` TEXT;");
|
||||
}
|
||||
}
|
||||
|
||||
12
docs/setup/centos6.md
Normal file
12
docs/setup/centos6.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Installing on CentOS 6
|
||||
|
||||
The main issue with installing Cachet on CentOS 6 is the old PHP version. Laravel and Composer expect a version of PHP of greater than or equal to 5.4, which is the default that ships with CentOS. You also need the same version of the required extensions.
|
||||
|
||||
## Remi Repo
|
||||
|
||||
To solve this problem, the 3rd party [http://rpms.famillecollet.com/](Remi Repo) can be used, which provides newer versions of PHP.
|
||||
|
||||
NOTE: This will upgrade existing versions of PHP on your system, so if you already have a PHP 5.3 requirement, you'll need to consider using [RedHat's Software Collections](https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/) which allows you to install PHP 5.4 alongside the systems PHP 5.3. You'll need to compile some of the extensions yourself though
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user