【发布时间】:2019-11-19 23:27:03
【问题描述】:
我想将我在 macOS Catalina 上的 PHP 版本从 7.2.9 升级到 7.3。
当我跑步时:
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3
我明白了:
Your version of OS X (10.15) is not supported, you need at least 10.6
Stopping installation...
If you think that's wrong, try
****
curl -o install.sh -s https://php-osx.liip.ch/install.sh | bash install.sh force
如果然后尝试我得到的最后一行:
bash: install.sh: No such file or directory
这对我来说很奇怪,因为 macOS(实际上是当时的 OS X)10.6 is Snow Leopard (2009) 而我使用的是最新版本的 macOS Catalina 10.15.1。
似乎我能找到的唯一内容是here on Github,但我不知道该怎么做。解决方案似乎是“下载脚本然后更改它”,但我不知道该怎么做。
【问题讨论】:
-
我已经发布了答案。请尝试注释掉我引用的
install.sh行并重新运行它。让我知道这是否有效,如果正确,请考虑标记答案。