@1programmer

Как обновиться до php 7 macos?

Привет всем. Собственно сабж. Перепробовал уже все, обновляется, но после перезапуска терминала опять 5 версия.
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install --with-openssl curl
brew install --with-homebrew-curl --with-apache php71
brew install php71-mcrypt php71-imagick
# 3. Follow these instructions to make Apache and php-cli use the newer php executable and make the change persist after reboot.
brew info php71
# restart apache
sudo apachectl restart
# apply PATH changes without relogging
source ~/.profile

Пробовал так, но после первой команды выводит
Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
  • Вопрос задан
  • 410 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы