Skip to content

Conversation

@gjedeer
Copy link
Contributor

@gjedeer gjedeer commented Nov 29, 2022

Signed-off-by: GDR! gdr@gdr.name

Closes wp-cli/wp-cli#5703

The PHAR build did not detect if cgi or fcgi SAPI has been used, and instead crashed with a hard to debug message.

Signed-off-by: GDR! <gdr@gdr.name>
@gjedeer gjedeer requested a review from a team as a code owner November 29, 2022 12:23
@danielbachhuber danielbachhuber added this to the 2.8.0 milestone Nov 29, 2022
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks fine to me. I'll get a second opinion from @schlessera though.

Copy link
Member

@schlessera schlessera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition to ensure people don't need to hunt down bogus errors.

I've just rephrased the text a bit trying to make it more precise and friendly.

Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
@gjedeer
Copy link
Contributor Author

gjedeer commented Dec 9, 2022

Much better wording, thank you @schlessera

@schlessera schlessera merged commit fddc772 into wp-cli:main Dec 9, 2022
@schlessera
Copy link
Member

Thanks for the PR, @gjedeer !

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.

Provide a more helpful error message when php-cgi is detected

3 participants