8000 Remove putenv() calls in Symfony/Console/Application · Issue #37489 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Remove putenv() calls in Symfony/Console/Application #37489
Closed
@Bertie2011

Description

@Bertie2011

This is a request for change, it's not a bug, neither a new feature

Description
Most shared hosting servers disabled the usage of putenv(). So after commenting out all putenv calls in the Application class, calling Artisan::call('migrate') from Laravel still works. The putenv calls only register console width and height, so I don't see why that has to be in an environment variable. I would argue that it's bad OO programming, but I don't know the fine details of it. If this "request" gets denied, perhaps somebody could clarify why it's necessary?

Side Note
I saw that the "Support" template had a ⛔ sign and a link to a symfony web page. As far as I could tell, I had to either create a new community account that I didn't want to create or use the "support for commerical products" form, which I don't own a license for. Perhaps a more common platform, like Discord or whatever would be a nice addition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0