Skip to content
Snippets Groups Projects

Upgrade PHP

Merged Alexander Olofsson requested to merge devel into production
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
+ 6
6
@@ -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'],
}
Loading