Skip to content

Remove value from comment in php.ini files #5164

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

Closed
wants to merge 1 commit into from

Conversation

mvorisek
Copy link
Contributor

Remove value from comment in php.ini files, otherwise when the actual value is changed, the comment may be unclear.

@mvorisek mvorisek changed the base branch from master to PHP-7.4 February 10, 2020 11:07
@Girgias
Copy link
Member

Girgias commented Feb 10, 2020

I'd rather rephrase this by saying that the default is 128MB.

@mvorisek
Copy link
Contributor Author

mvorisek commented Feb 10, 2020

Other configuration options does not have simillar comment, see for example

php-src/php.ini-production

Lines 832 to 834 in 2ff7994

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2M

I am against any value there as for example in our Ansible playbook we generate final php.ini from template and any comment about "default value" is misleading as noone knows, if this is a default from PHP directly, from deploy, or if this was modified by an user when the user was changing this value.

@php-pulls php-pulls closed this in 61e7692 Feb 12, 2020
@mvorisek mvorisek deleted the fix_phpini_comment branch February 12, 2020 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants