8000 [Process] ExecutableFinder throws a warning if open_basedir is active and a non-existent directory is in the allowed directories list · Issue #13929 · symfony/symfony · GitHub
[go: up one dir, main page]

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

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

Closed
andrea-cristaudo opened this issue Mar 15, 2015 · 2 comments
Labels

Comments

@andrea-cristaudo
Copy link

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

@fabpot fabpot added the Process label Oct 5, 2015
@cbj4074
Copy link
Contributor
cbj4074 commented Oct 9, 2015

In my case, this is a problem all of a sudden, now that Laravel is using this method:

laravel/framework@a4dd6e6#diff-10d465d9a443ced0d8b1b9c8b9560ccfR41

I've submitted a Pull Request that provides a short-term workaround, until the underlying bug in PHP is fixed:

#16182

@Tobion Tobion closed this as completed Oct 9, 2015
@cbj4074
Copy link
Contributor
cbj4074 commented Oct 9, 2015

Thank you to everyone involved in addressing this issue! (On a Friday, no less!) Your timely attention is sincerely appreciated. Have a great weekend.

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

No branches or pull requests

4 participants
0