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

Fixes #26563 (open_basedir restriction in effect) #26598

Closed
wants to merge 1 commit into from

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.

None yet

3 participants