Error while upgrading PHP 7.4 on MAC after installing Brew
P粉478445671
P粉478445671 2023-10-29 22:04:52
0
1
684

I have a Mac Air with Ventura OS. I just installed Brew and can no longer upgrade PHP. I get the following error: Error: php@7.4 has been disabled because it is a versioned formula! How can I solve it? New to MacOS and Brew. Thanks Fabio

I don’t know what to do at this time.

P粉478445671
P粉478445671

reply all (1)
P粉054616867

This message tells you that PHP 7.4 is obsolete. You can install PHP8

brew install php

Or link a third-party repository and install 7.4 from there.

For example:

brew tap shivammathur/php brew install shivammathur/php/php@7.4 brew link php@7.4
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!