Formula php does not create the correct ext_dir for pecl #5053
Unanswered
raumi75
asked this question in
Everyday usage
Replies: 3 comments
-
Thanks @raumi75! This worked for me. 🙏🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank You! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Excellent. I have an issue with install imagick and following your solution I can installed it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I installed php with
brew install php
, which works great.Then I wanted to install XDebug using
arch -arm64 sudo pecl install xdebug
which failed.This is the relevant output where it failed.
The reason appears to be this:
After creating the directory with
mkdir -p /opt/homebrew/lib/php/pecl/20230831
, the pecl command worked and XDebug was installed.I tried to check the code in the php formula and it looked like it should create all the relevant directories. No idea why it did not for pecl.
I hope this description helps and someone with more experience can fix the formula, so others don't run into the same issue.
Beta Was this translation helpful? Give feedback.
All reactions