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

Merge branch 'upgrade-php' into 'devel'

Upgrade php

See merge request !15
parents ee86894d 28db5977
No related branches found
No related tags found
2 merge requests!16Upgrade PHP,!15Upgrade php
Pipeline #3733 passed
...@@ -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