Какие есть варианты обновить PHP на MacOS Mojave 10.14.2? - PullRequest
0 голосов
/ 16 января 2019

При попытке обновить PHP на MacOS Mojave 10.14.2 с использованием curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3 я вижу следующее предупреждение:

konathal-OSX:sbin konathal$ curl -s https://php-osx.liip.ch/install.sh 
| bash -s 7.3
****
[WARNING]
Detected macOS Mojave 10.14. There are serious issues with it, due to 
the original apache not loading
foreign libraries anymore. PHP within apache will most certainly not 
work anymore if you proceed!
The cli version still will.
See this issue at https://github.com/liip/php-osx/issues/249 for 
details and discussion
****
Restart this script with
 curl -s https://php-osx.liip.ch/install.sh | bash -s force 7.3
to really install it
****

Как лучше всего обновить PHP на MacOS Mojave?

1 Ответ

0 голосов
/ 16 января 2019

Мне нравится доморощенный.

https://brew.sh

Например. На Cli Brew установите php@7.2 или php@7.1 и т. Д. Я также часто использую Docker для Mac для запуска контейнеров с PHP.

Очень удобно: вы можете легко переключать версии PHP с помощью скрипта brew php switcher. Найдите его, используя brew search php :-).

...