Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 7.1.0

...

Installations of ProVision 7.x and newer require  PHP 7.0 1 (and related extensions). CentOS 6 comes with PHP 5.3 by default. You can either add a repository which provides PHP 7.0 1 or install PHP manually.

Note
titleRepository & Syntax

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.

If using a different repo or installing manually, your installation syntax may be different from what is listed here.

 

Add the repository:

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

Update:

 

Code Block
languagepowershell
yum update

 

Install:

Expand

PHP 7.0 x / Apache2 / extensions

  • httpd 
  • php70w php71w 
  • php7071w-opcache 
  • php7071w-mysqlnd 
  • php7071w-pdo 
  • php7071w-ldap 
  • php7071w-pecl-memcache 
  • php7071w-bcmath 
  • php7071w-devel 
  • php7071w-pear 
  • php7071w-cli
  • php7.1-imap

Development tools for pecl / additional system packages:

  • curl 
  • openssl 
  • memcached 
  • mod_ssl

 


Code Block
languagebash
yum install httpd php70wphp71w php70wphp71w-opcache php70wphp71w-mysqlnd php70wphp71w-pdo php70wphp71w-ldap php70wphp71w-pecl-memcache php70wphp71w-bcmath php70wphp71w-devel php70wphp71w-pear php70wphp71w-cli php7.1-imap curl openssl memcached mod_ssl

MySQL

...

1. Remove the current contents in the ProVision web folder (currently the www root) and after extract the archive contents (where 7.x.x is the version number for the ProVision, and php7.x is the required php version build) :

Code Block
languagebash
 tar -xf productionBuild-7.x.x-php7.0x.tar -C /var/www/html

2. Change the permissions to be the web user permissions

...