Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assess if we can avoid putenv usage to avoid some thread safety issues #5126

Open
ssddanbrown opened this issue Jul 17, 2024 · 0 comments
Open

Comments

@ssddanbrown
Copy link
Member

In thread error-prone environments (Apache on XAMPP windows by default for example) there can be issues with things like config loading, where config ends up blank.

This can be helped by config caching as a workaround, which we don't advise/document, but I feel it's better to avoid such thread problematic scenarios completely where possible, which it looks like it may be:

laravel/framework#28908
laravel/framework#28740

From what I can tell, this could effect libraries that use putenv/getenv, so might need to think-about/audit potential impacts there.

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

No branches or pull requests

1 participant