...
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm |
Update:
Code Block | ||
---|---|---|
| ||
yum update |
Install:
Expand |
---|
PHP 7.0 x / Apache2 / extensions
Development tools for pecl / additional system packages:
|
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
tar -xf productionBuild-7.x.x-php7.0x.tar -C /var/www/html |
2. Change the permissions to be the web user permissions
...