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
2 merge requests!16Upgrade PHP,!15Upgrade php
Pipeline #3735 passed
......@@ -55,24 +55,24 @@ class skadereg(
include ::apache
class { '::apache::mod::php':
package_name => 'php55-php',
package_name => 'rh-php56-php',
}
include ::apache::mod::rewrite
package {
'php55-php-pdo':
'rh-php56-php-pdo':
ensure => installed;
'php55-php-mbstring':
'rh-php56-php-mbstring':
ensure => installed;
'php55-php-mysqlnd':
'rh-php56-php-mysqlnd':
ensure => installed;
'php55-php-common':
'rh-php56-php-common':
ensure => installed;
}
file { '/etc/httpd/modules/libphp5.so':
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'],
}
......
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