Skip to content

Conversation

klausi
Copy link
Contributor

@klausi klausi commented Aug 4, 2025

Problem: APCU can be unstable, so we want to remove it. See upstream problem krakjoe/apcu#582

We also want to logrotate PHP FPM slow logs.

Copy link
Contributor

@drazenCE drazenCE left a comment

Choose a reason for hiding this comment

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

Hey Klaus, most of our clients do use the APCU module so we decided to leave it enabled as default.

I do like and appreciate php slow log rotation and would like to implement it.

@klausi
Copy link
Contributor Author

klausi commented Aug 18, 2025

Thanks, should I change anything on this pull request or can it be merged? Maybe you need a PR against the devel branch first?

@klausi klausi marked this pull request as ready for review August 18, 2025 14:38
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@klausi
Copy link
Contributor Author

klausi commented Aug 18, 2025

I removed the apcu_installed flagged, we don't need it anymore. Instead, we downgraded and pinned php apcu to the previous version for now.

So all that is remaining here is the fpm slow log rotation.

@klausi klausi changed the title feat(php): Support removal of APCU, add FPM slow logrotate feat(php): Add FPM slow logrotate Aug 18, 2025
@klausi klausi requested a review from drazenCE August 18, 2025 14:40
@gregharvey gregharvey merged commit cb63668 into codeenigma:2.x Sep 10, 2025
2 of 10 checks passed
gregharvey added a commit that referenced this pull request Sep 10, 2025
* Fixing-email-title-for-backup-validation (#2657)

Co-authored-by: Matej Stajduhar <[email protected]>

* Adding-task-to-create-aurora-cluster (#2659)

* Adding-task-to-create-aurora-cluster

* Adding-region-profile-and-tags-to-aurora-cluster

* Updating-engine-for-aurora-cluster

* Updating-parameter-group-engine

* Updating-engine-version

* Updating-engine-version-2

* Disabling-automated-backups

* Disabling-automated-backups-2

* Disabling-automated-backups-3

* Disabling-automated-backups-4

* Skipping-task-if-not-aurora

* Adding-subnet-group-to-instances

* Adding-subnet-group-to-instances

* Updating-SG-return-values

* Updating-SG-return-values-2

* Updating-SG-return-values-3

* Updating-SG-return-values-4

* Updating-SG-return-value-debug

* Updating-SG-return-value-debug-2

* Updating-SG-return-value-debug-3

* Removing-debug-tasks

* Removing-init-var-for-SG-list

* Adding-character-set-option

---------

Co-authored-by: Matej Stajduhar <[email protected]>

* Fixing truthy variable mistakes. (#2662)

* Fixing installer variable bug.

* Fixing tests for external PRs.

* Testing with a fork.

* Adding repo owner's username into installer string.

* Refactoring config repo detection to simplify.

* No longer permitted to use an integer as a truthy value.

* No longer permitted to use existence check as a truthy value.

* Can't see a reason why linotp var shouldn't be a boolean.

* No longer permitted to use existence check as a truthy value.

* Fixing truthy errors in ce_deploy role.

* No longer permitted to use an integer as a truthy value.

* feat(php): Add FPM slow logrotate (#2625)

* feat(php): Support removal of APCU, add FPM slow logrotate

* simplify condition

* revert apcu installed setting, not needed

* r73458-install-php-gmp-by-default2 (#2667)

* r73458-install-php-gmp-by-default2

* re-add required packages

---------

Co-authored-by: drazenCE <[email protected]>
Co-authored-by: Matej Štajduhar <[email protected]>
Co-authored-by: Matej Stajduhar <[email protected]>
Co-authored-by: Klaus Purer <[email protected]>
Co-authored-by: nfawbert <[email protected]>
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