Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: consider php.ini from Nix#530

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
shyim wants to merge1 commit intosymfony-cli:main
base:main
Choose a base branch
Loading
fromshyim:add-php-init-search

Conversation

@shyim
Copy link
Contributor

@shyimshyim commentedOct 26, 2024
edited
Loading

When you create a php.ini in local dir and use PHP from nix. All extensions are gone as Nix sets a PHP_INI_SCAN_DIR

drupol, hansemschnokeloch, and hebertcisco reacted with thumbs up emoji
@tucksaun
Copy link
Member

shouldn’t this work out of the box as we preprend the directory to anyPHP_INI_SCAN_DIR already set?

@shyim
Copy link
ContributorAuthor

The problem is that the Nix PHP binary itself is an wrapper with sets PHP_INI_SCAN_DIR

@tucksaun
Copy link
Member

If this is in the Nix wrapper, it is after we setPHP_INI_SCAN_DIR.
We don't override, instead, we prepend our value to preserve the original value ofPHP_INI_SCAN_DIR.

It looks like Nix had something similar but decided to change their behavior inNixOS/nixpkgs#221845.
I don't think it is our responsibility to ship a really specific Nix workaround based on their controversial decision.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@shyim@tucksaun

[8]ページ先頭

©2009-2025 Movatter.jp