Hello,
Am 10.06.22 um 08:19 schrieb Michael Olbrich: > On Fri, Jun 03, 2022 at 05:12:08PM +0200, Andreas Helmcke wrote: >> + >> +ifdef PTXCONF_PHP8_SAPI_CGI >> + @$(call install_copy, php8, 0, 0, 0755, -, /usr/bin/php-cgi) >> +endif >> + >> +ifdef PTXCONF_PHP8_INI >> + @$(call install_alternative, php8, 0, 0, 0644, /etc/php8/php.ini) > > php8 does not install this, so you need to add on to ptxdist in > projectroot/. > php8 does provide templates for php.ini. I would like to use this file: .../build-target/php-8.1.6/php.ini-production I'd like to have ptxdist to install php.ini from the users project root, if provided (just like install_alternative does) but copy php-ini-production as php.ini, if install_alternative does not find a source. I think I can achieve this just with copying php.ini-production to ptxdist projectroot/ but then with each version bump this has to be done manually again. Is there a better solution? Andreas
