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

php lens: missing loading of /etc/php-fpm.d/www.conf (remi repo) #797

Open
qeepcologne opened this issue Jan 2, 2023 · 0 comments
Open

Comments

@qeepcologne
Copy link

qeepcologne commented Jan 2, 2023

php www.conf from remi repo (tried with php8.2 @ centos9, but pretty sure that location was the same on centos7/8 and php8.0/8.1) is under /etc/php-fpm.d/www.conf.
I see that content of this file is not in augeas tree, then i checked imports and see only this:

/augeas/load/PHP/incl[2] = "/usr/local/zend/etc/php.ini"
/augeas/load/PHP/incl[3] = "/etc/php/*/fpm/pool.d/*.conf"
/augeas/load/PHP/incl[4] = "/etc/php*/fpm/pool.d/*.conf"
/augeas/load/PHP/incl[5] = "/etc/php.d/*.ini"
/augeas/load/PHP/incl[6] = "/etc/php.ini"
/augeas/load/PHP/incl[7] = "/etc/php/*/*/*.ini"
/augeas/load/PHP/incl[8] = "/etc/php*/*/*.ini"

This file is not included by default. If i add the incl/lens manually everything is fine

example (puppet):

augeas { "php/www.conf":
    context => "/files/etc/php-fpm.d/www.conf/www",
    incl    => "/etc/php-fpm.d/www.conf",
    lens    => "php.lns",
    changes => [
      "set listen.owner apache",
      "set listen.group apache",
      "set listen.mode 0660"
    ]
  }

please add location of this file, so that i can remove the incl + lens (to reuse the same code on el/remi and ubuntu/ondrej)

@qeepcologne qeepcologne changed the title missing loading of /etc/php-fpm.d/www.conf (remi repo) php lens: missing loading of /etc/php-fpm.d/www.conf (remi repo) Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant