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

Skip to content

Conversation

temperatur
Copy link
Contributor

If the open_basedir is set is_file(PHP_BINARY) is false.

Q A
Branch? 4.0
Bug fix? yes/
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #26563
License MIT
Doc PR

If we are using cli we already used the binary so there is no need to check if the file exists.

If the open_basedir is set is_file(PHP_BINARY) is false.
@nicolas-grekas
Copy link
Member

Thank you @temperatur.

nicolas-grekas added a commit that referenced this pull request Mar 19, 2018
…tur)

This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes #26598).

Discussion
----------

Fixes #26563 (open_basedir restriction in effect)

If the open_basedir is set is_file(PHP_BINARY) is false.

| Q             | A
| ------------- | ---
| Branch?       | 4.0
| Bug fix?      | yes/
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26563
| License       | MIT
| Doc PR        |

If we are using cli we already used the binary so there is no need to check if the file exists.

Commits
-------

7a04976 Fixes #26563 (open_basedir restriction in effect)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants