Context
In the restructure work (#324), the PHP Dist buildpack is responsible for configuring the default php.ini file.
The PHP Dist buildpack (as it exists in #341 for the restructure work) creates 2 php.ini files:
- A static default
php.ini file (config/default.ini)
- A go-templated buildpack-provided
php.ini (config/buildpack.ini)
Issue
This issue is to figure out how we can access the default php.ini file that ships with the PHP distribution, and use that in place of the static config/default.ini file. This is necessary because the default configuration might change slightly from version to version, so it may be problematic to use the same template for every version as we currently do.
The PHP source (from https://www.php.net/distributions/php-VERSION.tar.gz) we use to compile the buildpack-ready PHP distribution contains a php.ini-production file which could be used as the default php.ini. We should figure out we can retrieve that php.ini in the compiled PHP version, and swap that file in for the config/default.ini in the buildpack.
Acceptance
In order to close out this issue, I would expect that the default php.ini file used in the buildpack is taken from the PHP dependency from https://deps.paketo.io/php/... for all PHP versions we support in the buildpack.
Context
In the restructure work (#324), the PHP Dist buildpack is responsible for configuring the default
php.inifile.The PHP Dist buildpack (as it exists in #341 for the restructure work) creates 2
php.inifiles:php.inifile (config/default.ini)php.ini(config/buildpack.ini)Issue
This issue is to figure out how we can access the default
php.inifile that ships with the PHP distribution, and use that in place of the staticconfig/default.inifile. This is necessary because the default configuration might change slightly from version to version, so it may be problematic to use the same template for every version as we currently do.The PHP source (from https://www.php.net/distributions/php-VERSION.tar.gz) we use to compile the buildpack-ready PHP distribution contains a
php.ini-productionfile which could be used as the defaultphp.ini. We should figure out we can retrieve thatphp.iniin the compiled PHP version, and swap that file in for theconfig/default.iniin the buildpack.Acceptance
In order to close out this issue, I would expect that the default
php.inifile used in the buildpack is taken from the PHP dependency fromhttps://deps.paketo.io/php/...for all PHP versions we support in the buildpack.