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). Debian Wheezy comes with PHP 5.4 by default. You can either add a repository which provides PHP 5.5 6 or install PHP manually. In this example, we are going to use 3rd party repository that also upgrades the Apache to 2.4 as well as some other packages.

 

Edit sources.list:
(shown using the vi editor, though you may use the editor of your choice)

 

Code Block
languagebash
  vi /etc/apt/sources.list


Add the following lines to sources.list:

 

Code Block
languagetext
  deb http://packages.dotdeb.org wheezy-php55php56 all
  deb-src http://packages.dotdeb.org wheezy-php55php56 all
Install the GPG key:

 

Code Block
languagebash
  wget https://www.dotdeb.org/dotdeb.gpg
  apt-key add dotdeb.gpg

 

And update the packages list:

 

Code Block
languagebash
   apt-get update

 

Install Apache2/PHP5/MySQL and development tools for pecl:

 

Expand
titleClick here for the list of extensions...

PHP5 / Apache2 / extensions

  • apache2 

  • libapache2-mod-php5 

  • php5 

  • php5-cgi 

  • php5-cli 

  • php5-gd 

  • php5-curl 

  • php5-ldap 

  • php5-mysqlnd 

  • php5-ssh2 

  • php-pear 

  • php5-dev 

Development tools for pecl / additional system packages:

  • curl 
  • openssl 
  • memcached 
  • php5-memcache

Code Block
languagebash
   apt-get install apache2 libapache2-mod-php5 php5 php5-cgi php5-cli php5-gd php5-curl php5-ldap php5-mysqlnd php5-ssh2 php-pear php5-dev curl openssl memcached php5-memcache

 

 While installing you will be asked to set the MySQL root password.

MySQL

...

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

Code Block
languagebash
 	tar -xf productionBuild-5.1x.2x-php5.56.tar -C /var/www/

2. Change the permissions to be the web user permissions

...