From 1c851951dfe6764caab16b71aa361a6f3df61ae5 Mon Sep 17 00:00:00 2001 From: lbriggs Date: Wed, 31 Dec 2014 11:05:57 +0000 Subject: [PATCH 1/4] Adding some brief documentation --- INSTALL.md | 9 ++++++++- docs/setup/centos6.md | 12 ++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 docs/setup/centos6.md diff --git a/INSTALL.md b/INSTALL.md index 1b15c5b2..d6a7d065 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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.3, [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 diff --git a/docs/setup/centos6.md b/docs/setup/centos6.md new file mode 100644 index 00000000..9d70db62 --- /dev/null +++ b/docs/setup/centos6.md @@ -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 greater than 5.3, 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/) and compiling the required extensions yourself. + + + From e5a432517718dd6c831e7c0101f6906ea8f64f23 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 31 Dec 2014 12:08:43 +0000 Subject: [PATCH 2/4] CS fix --- ...115936_AlterTableSettingsValueLongText.php | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/app/database/migrations/2014_12_31_115936_AlterTableSettingsValueLongText.php b/app/database/migrations/2014_12_31_115936_AlterTableSettingsValueLongText.php index 551a8c2c..5928958f 100644 --- a/app/database/migrations/2014_12_31_115936_AlterTableSettingsValueLongText.php +++ b/app/database/migrations/2014_12_31_115936_AlterTableSettingsValueLongText.php @@ -1,28 +1,26 @@ Date: Wed, 31 Dec 2014 12:14:41 +0000 Subject: [PATCH 3/4] Updating version to PHP 5.4 --- INSTALL.md | 2 +- docs/setup/centos6.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index d6a7d065..4e00a79c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,7 +2,7 @@ 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 > 5.3, [Composer](https://getcomposer.org/) and the following PHP extensions 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` diff --git a/docs/setup/centos6.md b/docs/setup/centos6.md index 9d70db62..1037b359 100644 --- a/docs/setup/centos6.md +++ b/docs/setup/centos6.md @@ -1,6 +1,6 @@ # 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 greater than 5.3, which is the default that ships with CentOS. You also need the same version of the required extensions. +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 5.4, which is the default that ships with CentOS. You also need the same version of the required extensions. ## Remi Repo From 786d9cdb61f68ae0045043b664ffddbf5530fe7e Mon Sep 17 00:00:00 2001 From: lbriggs Date: Wed, 31 Dec 2014 12:17:02 +0000 Subject: [PATCH 4/4] Few more fixes/updates --- INSTALL.md | 2 +- docs/setup/centos6.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 4e00a79c..1c39c84e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,7 +2,7 @@ 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 > 5.4, [Composer](https://getcomposer.org/) and the following PHP extensions 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` diff --git a/docs/setup/centos6.md b/docs/setup/centos6.md index 1037b359..eb2d26b8 100644 --- a/docs/setup/centos6.md +++ b/docs/setup/centos6.md @@ -1,12 +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 5.4, which is the default that ships with CentOS. You also need the same version of the required extensions. +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/) and compiling the required extensions yourself. +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