Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpm_ #2527

Open
judzk opened this issue Feb 22, 2024 · 1 comment
Open

mpm_ #2527

judzk opened this issue Feb 22, 2024 · 1 comment

Comments

@judzk
Copy link

judzk commented Feb 22, 2024

Describe the Bug

Hi,
I want to php mod, but i got some issues

Expected Behavior

Install php mod

Steps to Reproduce

Steps to reproduce the behavior:
include apache::mod::prefork include apache::mod::php
And the result :
Evaluation Error: Error while evaluating a Function Call, May not include both apache::mod::prefork and apache::mod::worker on the same node

Even with include apache::mpm::disable_mpm_worker

Environment

  • Last version of puppet
  • Debian 12

Additional Context

Add any other context about the problem here.

@ekohl
Copy link
Collaborator

ekohl commented Apr 29, 2024

You should use the mpm_module parameter on the apache class. For example:

class { 'apache':
  mpm_module => 'prefork`,
}
include apache::mod::php

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

No branches or pull requests

3 participants