Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to install php 7.3 in my macos But I am facing following error Error: php@7.3 has been disabled because it is a versioned formula! in PHP. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Error: php@7.3 has been disabled because it is a versioned formula! Error Occurs ?
I am trying to install php 7.3 in my macos But I am facing following error.
Error: php@7.3 has been disabled because it is a versioned formula!
How To Solve Error: php@7.3 has been disabled because it is a versioned formula! Error ?
How To Solve Error: php@7.3 has been disabled because it is a versioned formula! Error ?
To Solve Error: php@7.3 has been disabled because it is a versioned formula! Error Seems Like You are trying version is not supported with brew thats why this error occurs So That You just need to install supported supported versions of PHP with brew which is shivammathur/php. Just follow below command to install php 7.3. First of all You need to do is add the tap with following command: brew tap shivammathur/php Then You need to install php 7.3 with following command: brew install shivammathur/php/php@7.3 Now, Your error must be solved.
Error: php@7.3 has been disabled because it is a versioned formula!
To Solve Error: php@7.3 has been disabled because it is a versioned formula! Error Seems Like You are trying version is not supported with brew thats why this error occurs So That You just need to install supported supported versions of PHP with brew which is shivammathur/php. Just follow below command to install php 7.3. First of all You need to do is add the tap with following command: brew tap shivammathur/php Then You need to install php 7.3 with following command: brew install shivammathur/php/php@7.3 Now, Your error must be solved.
Solution 1: install supported version
Seems Like You are trying version is not supported with brew thats why this error occurs So That You just need to install supported supported versions of PHP with brew which is shivammathur/php. Just follow below command to install php 7.3.
First of all You need to do is add the tap with following command.
brew tap shivammathur/php
Then You need to install php 7.3 with following command.
brew install shivammathur/php/php@7.3
Suppose If You need to install php 8.0 then Just change php version in above command and tap Command you need to run only once.
brew install shivammathur/php/php@8.0
Now, Your error must be solved.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read
Thanks! This did help 🙂