php icon indicating copy to clipboard operation
php copied to clipboard

Possibility to use additional flags in configure

Open winiarekk opened this issue 1 year ago • 1 comments

After following PR https://github.com/docker-library/php/pull/1208 that removes ENV PHP_EXTRA_CONFIGURE_ARGS, it seems that there is no possibility to use additional flags in configure script. This is quite problematic in some cases (for example, if I'd like to include debugging symbols for gdb with --enable-debug flag).

Is there any way to easily use additional PHP core configure option, other than creating the own image from the scratch?

winiarekk avatar Dec 27 '23 12:12 winiarekk

Unfortunately, I think https://github.com/docker-library/php/pull/1364 is as close as we're going to come on this, which on the plus side does cover your --enable-debug use case, but regardless this isn't possible without "building" an image because configure flags can't be changed at runtime regardless. :sweat_smile:

tianon avatar Jan 04 '24 21:01 tianon