. Advertisement .
..3..
. Advertisement .
..4..
The error: “Error: [email protected] has been disabled because it is a versioned formula!” is a common error that can show up in many ways. In this blog, we will go through some of the ways you can fix this issue. Read on.
Why dose this error occur?
When attempting to install PHP 7.3 on your Mac, command: brew install [email protected].
you might encounter the following error.
Error: [email protected] has been disabled because it is a versioned formula!
The version you’re trying to install isn’t compatible with brew, which is why you’re getting this error.
How To Solve The Error: “Error: [email protected] has been disabled because it is a versioned formula!”?
Install backed version
The version you’re trying to install isn’t compatible with brew, which is why you’re getting this error. So, all you have to do is use brew to install shivammathur/php, which is a backed version of PHP. To install php 7.3, simply run the command below.
Firstly, you must include the tap using the following command:
brew shivammathur/php.
Then, use the following command to install PHP 7.3:
brew install shivammathur/php/[email protected].
If you have to install PHP 8.0, simply adjust the php version in the command above. Then, tap the Command you only have to run once.
brew install shivammathur/php/[email protected]
Now, you have fixed your problem.
Conclusion
We hope you enjoyed our article about the error. With this knowledge, we know that you can fix your error: “Error: [email protected] has been disabled because it is a versioned formula!” quickly by following these steps! If you still have any other questions about fixing this syntax error, please leave a comment below. Thank you for reading!
Leave a comment