Skip to content

RHEL8: keeps installing php7.2.4 #684

@abctaylor

Description

@abctaylor

Hello - after trying many hacks and tricks in previous issues submitted, this still appears to be very non-trivial to do, and the php_version setting is essentially useless. How can a different version of PHP be installed? No matter what you enter for php_version, it still chooses something different.

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6
  • Module version: 8.2.0

How to reproduce (e.g Puppet code you use)

  class { '::php::globals':
    php_version => '8.2',
    config_root => '/etc/php/8.2',
  }->class { '::php':
    manage_repos   => false,
    package_prefix => 'php82-php-',
    settings       => {
      'PHP/max_execution_time'  => '90',
      'PHP/max_input_time'      => '300',
      'PHP/memory_limit'        => '1G',
      'PHP/post_max_size'       => '1G',
      'PHP/upload_max_filesize' => '10G',
      'Date/date.timezone'      => 'Europe/London',
    },
  }

What are you seeing

PHP 7.2.4 gets installed, no matter what.

What behaviour did you expect instead

PHP 8.2 gets installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions