These commands have been tested on OSX Catalina but should also work for earlier versions of OSX. Simply repeat the unlink/link command every time you want to switch version. With Zend OPcache v8.0.2, Copyright (c), by Zend Technologies Zend Engine v4.0.2, Copyright (c) Zend Technologies .installed on the system: Command-line Tools X-CODE MacPorts Install Putty on a Mac using Command-line Tools. Install different PHP versions: brew install install install install say you want version 8.0, simply run: brew unlink php & brew link PHP 8.0.2 (cli) (built: 17:58:53) ( NTS ) There are multiple fancy scripts out there for managing PHP versions, but here I will show you how you can get the same result with just Homebrew, which you probably already have installed. Next, you will need a bit of information before you can. To install PuTTY for mac: brew install putty (or) port install putty Requirements For Set Up. But to download PuTTY, open the terminal window and use the commands below. Switch between different PHP versions on Mac OSX using Homebrew Stanislav Khromov Like Linux, the macOS comes with a command-line SSH client already installed.
0 Comments
Leave a Reply. |