On Mon, 2024-04-22 at 16:46 +0200, Jaco Kroon wrote:
> 
> Which in my *opinion* is not desirable behaviour, but I'm open for 
> discussion.
> 
> xdebug.mode = off by default, but the extension still gets loaded.
> 
> Not sure if there is a sensible "solution", further expanding USE flags 
> certainly is not a desirable option, so perhaps INSTALL_MASK 
> (per-package env) is the best solution ... ?

You can replace the symlinks with empty files. The package manager
should then refuse to overwrite them. It _looks_ wrong (why are these
non-active extensions in ext-active?), but it's the easiest solution.

I think the default should be for the extensions to be per-SAPI
disabled and for users to enable them by creating the symlinks. (The
"ext" and "ext-active" design screams this.) That would be an easy
change to php-ext-source-r3.eclass but risks breaking everyone's web
servers if we do it without news items and/or ewarnings.

There's nobody in the PHP project at the moment. If you want to make an
-r4 of the eclass and handle the paperwork, by all means...


Reply via email to