Skip to content
Snippets Groups Projects
Commit 0eed9bea authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Merge branch 'devel' into 'production'

Upgrade PHP

See merge request !16
parents c304342c 5629e90b
No related branches found
No related tags found
No related merge requests found
...@@ -55,24 +55,24 @@ class skadereg( ...@@ -55,24 +55,24 @@ class skadereg(
include ::apache include ::apache
class { '::apache::mod::php': class { '::apache::mod::php':
package_name => 'php55-php', package_name => 'rh-php56-php',
} }
include ::apache::mod::rewrite include ::apache::mod::rewrite
package { package {
'php55-php-pdo': 'rh-php56-php-pdo':
ensure => installed; ensure => installed;
'php55-php-mbstring': 'rh-php56-php-mbstring':
ensure => installed; ensure => installed;
'php55-php-mysqlnd': 'rh-php56-php-mysqlnd':
ensure => installed; ensure => installed;
'php55-php-common': 'rh-php56-php-common':
ensure => installed; ensure => installed;
} }
file { '/etc/httpd/modules/libphp5.so': file { '/etc/httpd/modules/libphp5.so':
ensure => link, ensure => link,
target => '/opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp55-php5.so', target => '/opt/rh/httpd24/root/usr/lib64/httpd/modules/librh-php56-php5.so',
before => Service['httpd'], before => Service['httpd'],
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment