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

Use default php binary instead of respecting PHP_BINARY when automatic binary detection fails for non-CLI SAPIs #50

Merged
merged 5 commits into from
Nov 12, 2021

Conversation

clue
Copy link
Owner

@clue clue commented Nov 12, 2021

This changeset ensures we use the default php binary instead of respecting PHP_BINARY when automatic binary detection fails for non-CLI SAPIs. This ensure we never try to execute a php-cgi binary when running behind CGI when the executable uses a custom name or open_basedir restrictions are in effect.

The implementation is pretty straight forward, but significant effort went into making sure this works across the variety of supported platforms and is tested appropriately. You're looking at close to two days worth of testing alone, enjoy!

Builds on top of #48 and #45
Builds on top of #7
Refs #35

@clue clue added the new feature New feature or request label Nov 12, 2021
@clue clue added this to the v1.3.0 milestone Nov 12, 2021
@clue clue requested a review from SimonFrings November 12, 2021 14:48
@SimonFrings SimonFrings merged commit 327320b into clue:master Nov 12, 2021
@clue clue mentioned this pull request Nov 12, 2021
@clue clue deleted the detect-binary branch November 20, 2021 13:46
@clue clue mentioned this pull request Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants