shivammathur / homebrew-php

:beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.

Home Page:https://github.com/shivammathur/homebrew-php/packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading 7.4.18 with patch included

scottperlitch opened this issue · comments

Describe the bug

My hypothesis is that brew upgrade shivammathur/php/php@7.4 is not installing the latest patch (fc256da)

Running brew upgrade shivammathur/php/php@7.4 only outputs: "Warning: shivammathur/php/php@7.4 7.4.18 already installed". Is this the expected behavior?

Is there a way to verify if the patch has been applied using phpinfo()?

PHP versions

7.4.18.

To Reproduce

brew install php@7.4
brew upgrade shivammathur/php/php@7.4

Expected behavior

The patch fixes a postgres / pdo bug. I am still seeing an error related to this bug when using Laravel Valet for development.

Screenshots/Logs

Additional context

The PHP bug that was patched: php/php-src#6801

Are you willing to submit a PR?

Yes

@scottperlitch

Reinstall using the formula from the tap. That should fix it.

brew update
brew reinstall shivammathur/php/php@7.4
brew link --force --overwrite php@7.4