• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Can't install php7 or php 7.1 with homebrew

macoshomebrewphp-7macos-sierraphp-7.1


PHP Snippet 1:

brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install php71

PHP Snippet 2:

brew link [email protected] //Whatever you installed

PHP Snippet 3:

brew unlink [email protected] //Whatever is your current active version
brew link --overwrite --force [email protected] //Whatever your desired version

PHP Snippet 4:

brew unlink [email protected] && brew link --overwrite --force [email protected]

Related Snippets

get attribute from class not working php 7

Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: ) in Unknown on line 0

Laravel with App Engine Standard Class 'FacadeIgnitionIgnitionServiceProvider' not found

zsh: command not found: php

php 7 php.ini upload_max_filesize not working

How can I easily switch between PHP versions on Mac OSX?

PHP - installing Xdebug on Mac with XAMPP (Unix File)

Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: ) in Unknown on line 0

Guzzle Not Sending Grant Type to Laravel Passport

Error when uploading certain .png files "Interlace handling should be turned on when using png_read_image"

Find out the name of the last script that included the current one

Unable to uninstall brew php from homebrew

About Contact Privacy policy Terms and conditions