Use PHP-provided php.ini
as default
#342
Labels
enhancement
A new feature or request
status/blocked
This issue has been triaged and resolving it is blocked on some other issue
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:php.ini
file (config/default.ini
)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 staticconfig/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 defaultphp.ini
. We should figure out we can retrieve thatphp.ini
in the compiled PHP version, and swap that file in for theconfig/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 fromhttps://deps.paketo.io/php/...
for all PHP versions we support in the buildpack.The text was updated successfully, but these errors were encountered: