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

don't mention PHP5 in messages #16538

Merged
merged 1 commit into from Oct 7, 2020
Merged

don't mention PHP5 in messages #16538

merged 1 commit into from Oct 7, 2020

Conversation

Findus23
Copy link
Member

@Findus23 Findus23 commented Oct 6, 2020

When looking at #16536 I noticed that php5 was still mentioned in a few places, so I replaced them with a general php.

@Findus23 Findus23 added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Oct 6, 2020
@@ -49,10 +49,6 @@ public function findPhpBinary()
$bin = shell_exec('which php');
}

if (!$this->isValidPhpType($bin)) {
$bin = shell_exec('which php5');
Copy link
Member

Choose a reason for hiding this comment

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

@Findus23 not sure if it's a thing but could do which php7 (and maybe which php8)?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think php7 exists on any (Debian) system, only php7.4 etc.
Not sure if listing all of them helps (if I understand it correctly this would matter if there was no php in PATH, but a php7.4 which seems quite rare).

Copy link
Member

Choose a reason for hiding this comment

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

👍 not needed

@tsteur tsteur added the Needs Review PRs that need a code review label Oct 6, 2020
@tsteur tsteur merged commit 1bcbf2f into 4.x-dev Oct 7, 2020
@tsteur tsteur deleted the no-php5-messages-correct branch October 7, 2020 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants