Error message: 'Error: No such file or directory' occurred when executing 'brew install php'
P粉973899567
P粉973899567 2023-12-15 18:56:54
0
1
618

Hi, I recently upgraded my mac and it caused some serious problems with my php installation. I had installed this previously using homebrew, so I tried reinstalling php by uninstalling it, then running brew install php. But now I'm getting this error: Error: No such file or directory - /usr/local/var/homebrew/linked/php. I tried searching everywhere for this error but couldn't find a similar situation. Can anyone explain this error and maybe point me in the direction of how to fix this? Thanks.

P粉973899567
P粉973899567

reply all(1)
P粉111927962

Try to remove the php symbolic link from /usr/local/var/homebrew/linked

rm /usr/local/var/homebrew/linked/php
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template