Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All installations of ProVision require at least PHP 5.5 6 (and related extensions). CentOS 6 comes with PHP 5.3 by default. You can either add a repository which provides PHP 5.5 6 or install PHP manually.

The Webtatic and Remi repos both have versions of PHP which are newer than those in the official repos. For this example, we'll be using Webtatic

Add the repository:

Code Block
languagebash
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

Update:

 

Code Block
languagepowershell
yum update

 

Install:

Expand

PHP5 / Apache2 / extensions

  • httpd 
  • php55w php56w 
  • php55wphp56w-opcache 
  • php55wphp56w-mysqlnd 
  • php55wphp56w-pdo 
  • php55wphp56w-ldap 
  • php55wphp56w-pecl-memcache 
  • php55wphp56w-bcmath 
  • php55wphp56w-devel 
  • php55wphp56w-pear 
  • php55wphp56w-cli

Development tools for pecl / additional system packages:

  • curl 
  • openssl 
  • memcached 
  • mod_ssl

 


Code Block
languagebash
yum install httpd php55wphp56w php55wphp56w-opcache php55wphp56w-mysqlnd php55wphp56w-pdo php55wphp56w-ldap php55wphp56w-pecl-memcache php55wphp56w-bcmath php55wphp56w-devel php55wphp56w-pear php55wphp56w-cli curl openssl memcached mod_ssl

MySQL

...

MySQL is included with most CentOS installs, check for it with:

Code Block
languagepowershell
yum list installed | grep mysql

The default MySqL version included with most CentOS installs will need to be upgraded to the latest version:

Code Block
languagebash
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

If you have an existing installation, you can replace it with:

Code Block
languagebash
yum install mysql.`uname -i` yum-plugin-replace
yum replace mysql --replace-with mysql55wmysql56w

For a fresh install:

Code Block
languagebash
   yum install mysql55wmysql56w mysql55wmysql56w-server

Then, re-start and configure.

Code Block
languagebash
   service mysqld start      chkconfig mysqld on

 

...