Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Process] ExecutableFinder throws a warning if open_basedir is active and a non-existent directory is in the allowed directories list #13929

Closed
@andrea-cristaudo

Description

@andrea-cristaudo

On line 59 (https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Process/ExecutableFinder.php#L59) ExecutableFinder checks if paths in open_basedir php config are directories.
This check throws a php warning if one path is non-existent.

The only solution I can think about it is to suppress warning with the @ operator.

For reference: https://bugs.php.net/bug.php?id=69240

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