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
1 merge request!16Upgrade PHP
Pipeline #3734 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