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

skadereg: Upgrade to PHP 5.6

parent c304342c
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.
Please register or to comment