How to install latest php without brew or is it possbile?
8
votes
2
answers
12724
views
I have some old mac machines that can not update to Big Sur. So when using brew to install php@7.4 brew will complain "no bottle available". I updated brew to latest 2.7.5, brew then complained,
> Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
I tried brew build from source but that also failed. So far the only solution I can found is from https://php-osx.liip.ch/ , but https://php-osx.liip.ch/ has deprecated and only support to 7.3.8. So is it possible to install php 7.4 or latest 8.0 on these old mac ?
--- update ---
One comment suggested to use macports. I tried macports on 10.13 and installed php 7.4!
Asked by Qiulang 邱朗
(879 rep)
Jan 21, 2021, 06:33 AM
Last activity: Oct 16, 2023, 08:13 AM
Last activity: Oct 16, 2023, 08:13 AM