Skip to content

session: ensure expected ini directives are set#22577

Open
remicollet wants to merge 1 commit into
php:masterfrom
remicollet:issue-session-test-ini
Open

session: ensure expected ini directives are set#22577
remicollet wants to merge 1 commit into
php:masterfrom
remicollet:issue-session-test-ini

Conversation

@remicollet

Copy link
Copy Markdown
Member

Test failing when installed php.ini contains bad values

@remicollet

Copy link
Copy Markdown
Member Author

Related to 27ead91 by @jorgsowa

@jorgsowa

jorgsowa commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

LGTM

However, I'm thinking about a long-term solution for such a problem. Because what if all ini values will be corrupted locally? We cannot override all PHP ini values in the tests. Shouldn't the test runner take "default values by default"?

@remicollet

Copy link
Copy Markdown
Member Author

LGTM

However, I'm thinking about a long-term solution for such a problem. Because what if all ini values will be corrupted locally? We cannot override all PHP ini values in the tests. Shouldn't the test runner take "default values by default"?

Yes probably
IMHO the "installed" php.ini should be ignored (tests run with -n option)

Context: during packaging I used a chroot env in which "php" is installed to make extension build faster (chroot is cached), raising such issue during php build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants