I tried to install gmagick PHP extension in a regular for PHPBrew way with:
phpbrew ext install gmagick
.
But it kept failing, even though gmagick itself is already installed in my system with:
brew install gmagick
.
Then I found out that PHPBrew is capable of installing beta versions of the software, so the next command was:
phpbrew ext install gmagick beta
.
And it almost succeeded... but the last error said "GraphicsMagic-config" is missing from the system. But it is not! When I run which GraphicsMagick-config
, the location is correct (somewhere under brew cellar dir).
So, how do I point the ext installer to the correct location of the binary?