...
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 | ||
---|---|---|
| ||
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm |
Update:
Code Block | ||
---|---|---|
| ||
yum update |
Install:
Expand |
---|
PHP5 / Apache2 / extensions
Development tools for pecl / additional system packages:
|
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm |
If you have an existing installation, you can replace it with:
Code Block | ||
---|---|---|
| ||
yum install mysql.`uname -i` yum-plugin-replace yum replace mysql --replace-with mysql55wmysql56w |
For a fresh install:
Code Block | ||
---|---|---|
| ||
yum install mysql55wmysql56w mysql55wmysql56w-server |
Then, re-start and configure.
Code Block | ||
---|---|---|
| ||
service mysqld start chkconfig mysqld on |
...