I try to install [email protected] using brew. But, it return error because it is versioned formula. What is it?
command: brew install [email protected]
result: Error: [email protected] has been disabled because it is a versioned formula!
CodePudding user response:
You can only install supported versions of PHP with brew. However, there is the tap shivammathur/php
which can be used to install unsupported version of PHP.
brew tap shivammathur/php
brew install shivammathur/php/[email protected]
The first step only needs to be done once. After adding the typ, you can install PHP version 5.6 - 8.2.
CodePudding user response:
try these command:- Step1:- brew unlink [email protected] brew link [email protected] sudo brew services restart nginx Step2:- Restart it