Giter Club home page Giter Club logo

Comments (5)

shivammathur avatar shivammathur commented on May 20, 2024

I cannot reproduce the issue on my end.
Can you please reinstall PHP 7.4 and see if it works correctly.

# Remove PHP and any PHP services that may exist
brew remove [email protected]
sudo rm -f ~/Library/LaunchAgents/homebrew.mxcl.php*
sudo rm -f /Library/LaunchAgents/homebrew.mxcl.php*
sudo rm -f /Library/LaunchDaemons/homebrew.mxcl.php*

# Update brew and shivammathur/php tap
HOMEBREW_DEVELOPER=1 brew untap shivammathur/php
brew tap shivammathur/php
brew update

# Install PHP 7.4
brew install shivammathur/php/[email protected]
brew link --force --overwrite [email protected]

Restart terminal and check PHP and pecl

php -v
pecl -V

from homebrew-php.

thibmonier avatar thibmonier commented on May 20, 2024

I did it several times, and each times I had this result
image
After some research, I saw that pecl is no more installed but symbolic links are still there
image

from homebrew-php.

shivammathur avatar shivammathur commented on May 20, 2024

Run this

sudo rm -rf /opt/homebrew/lib/php
sudo rm -rf $(brew --cellar [email protected])

and then reinstall PHP 7.4

brew install shivammathur/php/[email protected]
brew link --force --overwrite [email protected]

from homebrew-php.

thibmonier avatar thibmonier commented on May 20, 2024

still the same result :

  • symbolic links are dead
  • php return killed

from homebrew-php.

shivammathur avatar shivammathur commented on May 20, 2024

I upgraded to Big Sur 11.2.1 and still cannot reproduce the issue.
Something is not right with your PHP or brew setup.
There is no issue with this tap.

Reinstall brew and try installing PHP again

sudo rm -rf /opt/hombrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update
brew tap shivammathur/php
brew install shivammathur/php/[email protected]
brew link --force --overwrite [email protected]

from homebrew-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.