Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error upgrading PHP 7.4 on MAC after Brew installation

I have a Mac Air with Ventura OS. I just installed Brew and after that I can't upgrade PHP anymore. I get the following error: Error: [email protected] has been disabled because it is a versioned formula! How can I solve it? New to MacOS and Brew. Thanks Fabio

No clue what to do at this point.

like image 677
Fabio Parodi Avatar asked Apr 13 '26 10:04

Fabio Parodi


1 Answers

The message tells you that PHP 7.4 is outdated. You can either install PHP8

brew install php

or link a 3rd party repository and install 7.4 from there.

For example:

brew tap shivammathur/php
brew install shivammathur/php/[email protected]
brew link [email protected]
like image 121
gtom Avatar answered Apr 16 '26 01:04

gtom



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!