...
2) Install Required Packages
PHP
Info |
---|
This step is only applicable to Debian 7 users. If you are using Debian 8, please skip to the next step. |
Installations of ProVision 7.x and newer require PHP 7.0 1 (and related extensions). ProVision 7.x installations using Debian versions prior to Stretch 9 require updating to PHP 7.01. Debian Wheezy comes with PHP 5.4 by default. You can either add a repository which provides PHP 7.0 1 or install PHP manually. In
Info |
---|
For this example, we are |
using Debian/Ubuntu installation instructions from: https://ayesh.me/Ubuntu-PHP-7.1 , using Ondřej Surý's PPA. Another reference containing instructions for Debian 7, 8, CentOS / RHEL, MacOS X, and Windows is available here: https://www.colinodell.com/blog/201612/installing-php-71 Depending on what repository you choose, installation instructions and syntax may differ. |
Code Block | ||||
---|---|---|---|---|
| ||||
sudo apt install apt-transport-https lsb-release ca-certificates sudo wget -O vi /etc/apt/sources.list |
Add the following lines to sources.list:
Code Block | ||
---|---|---|
| ||
deb httptrusted.gpg.d/php.gpg https://packages.dotdeb.org wheezy-php70 all deb-src http.sury.org/php/apt.gpg sudo sh -c 'echo "deb https://packages.dotdeb.org wheezy-php70 all |
Code Block | ||
---|---|---|
| ||
wget https://www.dotdeb.org/dotdeb.gpg
apt-key add dotdeb.gpg |
sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
sudo apt update |
Code Block | ||
---|---|---|
| ||
apt-get update |
Expand | ||
---|---|---|
| ||
PHP 7.0 x / Apache2 / extensions
Development tools for pecl / additional system packages:
|
Code Block | ||
---|---|---|
| ||
apt-get install apache2 libapache2-mod-php7 php7php7.1 php7.1 php7.1-cgi php7.1-cli php7.1-gd php7.1-curl php7.1-ldap php7.1-mysqlnd php7.1-ssh2 php-pear php7.1-dev php7.1-imap curl openssl memcached php7.1-memcache |
MySQL
...
Expand |
---|
|
Code Block |
---|
apt-get install curl openssl memcached php7.1-memcache nmap dnsutils bind9utils expect |
...
Code Block | ||
---|---|---|
| ||
tar -xf productionBuild-7.x.x-php7.0x.tar -C /var/www/ |
2. Change the permissions to be the web user permissions
...