-
-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php config file order #538
Comments
Is there any preference? rename it to app.zzdev.ini or zzz-app.dev.ini? |
With number ? |
Numbers will move them above the docker-php-ext-xyz.ini I would think we want our config to supersede them so I used the z prefix to move them to the bottom as php uses the last set value. So maybe z01-app.ini, z02-other.ini, ... Again normally the dev is loaded last so zzz-dev.ini seems most likely to be loaded last. |
You could also set the See: https://www.php.net/manual/en/configuration.file.php#configuration.file.scan
This way the This way you can sort the app's ini files in numerical order.
You can verify this with
|
As php takes the last ini value set, in frankenphp/conf.d
The order currently is:
app.dev.ini
app.ini
Expected would be:
app.ini
app.dev.ini
Should app.dev.ini be renamed so it is loaded after app.ini? Currently there is only one setting in app.dev.ini but more could be added and I believe the expected behavior would be it take precedence over settings in app.ini.
The text was updated successfully, but these errors were encountered: