Skip to content

Update php.ini file#62

Open
kdambekalns wants to merge 3 commits intomainfrom
task/update-php-ini
Open

Update php.ini file#62
kdambekalns wants to merge 3 commits intomainfrom
task/update-php-ini

Conversation

@kdambekalns
Copy link
Member

No description provided.

@kdambekalns kdambekalns self-assigned this Mar 18, 2026
Copy link
Member Author

@kdambekalns kdambekalns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some things I'd like to have your input on!

; Development Value: On
; Production Value: Off
; https://php.net/display-startup-errors
;display_startup_errors = Off
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should set this, I think, to be in line with display_errors and the recommendation for production.

Suggested change
;display_startup_errors = Off
display_startup_errors = Off

; Development Value: 1
; Production Value: -1
; https://php.net/zend.assertions
;zend.assertions = -1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
;zend.assertions = -1
zend.assertions = -1

Unless we are sure this is needed, we should probably set this to follow the recommendation for production!?

; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 100000 are allowed.
; Only numbers between 200 and 1000000 are allowed.
opcache.max_accelerated_files=5000
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
opcache.max_accelerated_files=5000
opcache.max_accelerated_files=30000

A Flow project easily has upwards of 25000 class files… so it seems raising this might be good?

@kdambekalns kdambekalns force-pushed the task/update-php-ini branch from a1ef97b to 48d928f Compare March 18, 2026 18:53
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.

1 participant