shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.89k stars 337 forks source link

Redis could not be installed on MacOS with PHP8.2 #770

Closed Jeckerson closed 11 months ago

Jeckerson commented 11 months ago

Describe the bug

Redis could not be installed on MacOS with PHP8.2.

Version

Runners

Operating systems MacOS

PHP versions 8.2

To Reproduce https://github.com/phalcon/cphalcon/actions/runs/6365608835/job/17282779290?pr=16446#step:4:40

Expected behavior Redis installs on MacOS with PHP8.2

shivammathur commented 11 months ago

Apple and brew dropped support for macOS 11, so the new version of extensions cannot be built for the OS version. So, I would recommend upgrading macos-11 in your workflow to macos-12.

Jeckerson commented 11 months ago

@shivammathur It worked, thank you!