Created
April 2, 2021 17:08
-
-
Save michael-grunder/8af39895b81770fb4b638a820267537c to your computer and use it in GitHub Desktop.
Install pecl yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 1) One-liner assuming you installed libyaml via brew | |
# | |
echo $(brew --prefix libyaml)|sudo pecl install yaml | |
# | |
# 2) Pass --with-yaml directly to ./configure | |
# | |
# Download, unpack and CD into yaml directory | |
pecl download yaml && tar xf yaml-2.2.1.tgz && cd yaml-2.2.1 | |
# Actually pass the libyaml prefix to configure | |
phpize && ./configure --with-yaml=$(brew --prefix libyaml) && make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment