Skip to content

Pear tmp dir how to set #716

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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