You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error while evaluating a Resource Statement, Php::Config::Setting[/opt/php-7.2/etc/php.ini: PHP/user_ini.filename]: parameter 'value' expects a value of type Integer or String[1], got String (file: /etc/puppetlabs/code/environments/production/modules/php/manifests/config.pp, line: 28)`
What behaviour did you expect instead
set user_ini.filename to empty value in the mentioned php.ini.
With the empty value on PHP/user_ini.filename, PHP doesn't scan for a user-maintained php.ini.
Changing php::config::setting from Variant[Integer, String[1]] to Variant[Integer, String] solves the issue, obviously - but I doubt that's actually the best or preferred approach.
The text was updated successfully, but these errors were encountered:
Hi folks,
this issue appears since latest 8.0.0 / #634.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Excerpt:
What are you seeing
What behaviour did you expect instead
set
user_ini.filename
to empty value in the mentionedphp.ini
.Any additional information you'd like to impart
The empty string is valid:
https://www.php.net/manual/en/configuration.file.per-user.php
With the empty value on
PHP/user_ini.filename
, PHP doesn't scan for a user-maintained php.ini.Changing
php::config::setting
fromVariant[Integer, String[1]]
toVariant[Integer, String]
solves the issue, obviously - but I doubt that's actually the best or preferred approach.The text was updated successfully, but these errors were encountered: