Re: Environment Variable based PHP Extension loading
| From: | Derick Rethans | Date: | Fri, 12 Sep 2025 22:24:48 +0000 |
| Subject: | Re: Environment Variable based PHP Extension loading | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128694@lists.php.net to get a copy of this message | ||
On 12 September 2025 21:13:04 BST, Soner Sayakci <s.sayakci@gmail.com> wrote:
>Hey,
>
>I would like to load PHP extensions by environment variables in a
>containerized environment. All existing solutions are moving files in an
>entrypoint and this does not work for read-only containers. Why this?
>Extensions like Blackfire/XDebug/OpenTelemetry/Tideways do not like each to
>run at the same time, and having to build less containers simplifies a lot.
I'm not aware of any incompatibilities between Xdebug and any of these. If you know of any,
please file a bug report at bugs.xdebug.org.
If it is, you can set the XDEBUG_MODE environment variable to off, and then it doesn't set any
hooks that could interfere.
cheers
Derick