ini-file: development defines disable_functions
#573
-
Hi, following #450 (comment) I already use Today I was about to run some code making use of
After some debugging I figured it's related to I then checked where this is coming from
Maybe my expectations are wrong, but I would not have expected for the CI tests that Any ideas? (note: workaround for me now is easy: I just explicitly set Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is from ondrej's builds. It comes with 3 ini files.
So the differentiation you mentioned between For 7.4, these will be in Source: https://salsa.debian.org/php-team/php/-/blob/debian/main/7.4/debian/rules#L504 As you mentioned, the workaround is trivial, so I would not like to change this. |
Beta Was this translation helpful? Give feedback.
This is from ondrej's builds. It comes with 3 ini files.
php.ini-development
: Used for all SAPI, hasdisabled_functions
set.php.ini-production
: Used for all SAPI expectcli
, this also hasdisabled_functions
set.php.ini-production.cli
: Used forcli
, does not havedisabled_functions
set.So the differentiation you mentioned between
cli
andfpm
is in the case ofproduction
php.ini.For 7.4, these will be in
/usr/lib/php/7.4
, and are used when a SAPI is configured.Source: https://salsa.debian.org/php-team/php/-/blob/debian/main/7.4/debian/rules#L504
As you mentioned, the workaround is trivial, so I would not like to change this.