Skip to content

Fix issue with new configuration variable max_memory_limit - #466

Open
pob0111 wants to merge 1 commit into
nextcloud:mainfrom
pob0111:fix_memory_limit
Open

Fix issue with new configuration variable max_memory_limit#466
pob0111 wants to merge 1 commit into
nextcloud:mainfrom
pob0111:fix_memory_limit

Conversation

@pob0111

@pob0111 pob0111 commented Jul 23, 2026

Copy link
Copy Markdown

PHP 8.5 introduces a new variable named max_memory_limit.

The regular expression used to set memory_limit also matches that new variable name and thus the wrong setting is overwritten.

By adding \b at the beginning and end of the regular expression the full variable name must match.

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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