Skip to content

Pear tmp dir how to set #716

@dionrowney

Description

@dionrowney
  • Puppet: 2021.7.7
  • Ruby: ??
  • Distribution: RHEL9
  • Module version: 8.1.1

How to reproduce

Set exec bit on /tmp to noexec
attempt extension install

yaml
`

php::extensions:

redis :

    provider: pear

`

Seeing

Installation fails due to no permissions to exec in /tmp

Pecl options needs to be set before install can be performed:

pear config-set temp_dir /root/tmp

then it succeeds.

Request

It is not clear how this is possible with your module. Can you provide an example somewhere?

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