Skip to content

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

Merged
SimonFrings merged 5 commits into
clue:masterfrom
clue-labs:detect-binary
Nov 12, 2021
Merged

Use default php binary instead of respecting PHP_BINARY when automatic binary detection fails for non-CLI SAPIs#50
SimonFrings merged 5 commits into
clue:masterfrom
clue-labs:detect-binary

Conversation

@clue

@clueclue commented Nov 12, 2021

Copy link
Copy Markdown
Owner

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

@clueclue added the new feature New feature or request label Nov 12, 2021
@clueclue added this to the v1.3.0 milestone Nov 12, 2021
@SimonFrings
SimonFrings merged commit 327320b into clue:masterNov 12, 2021
@clueclue mentioned this pull request Nov 12, 2021
@clue
clue deleted the detect-binary branch November 20, 2021 13:46
@clueclue mentioned this pull request Jan 11, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new featureNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@clue@SimonFrings