Sunday, 9 February 2014

Install Php Module yaml in Cpanel server


Try installing yaml using pecl :

pec install yaml

You may encounter an error:

configure: error: Please install libyaml

wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz

tar -xvzf yaml-0.1.4.tar.gz

cd yaml-0.1.4

./configure

make

make install

Then run pecl again :

pec install yaml

Then verify it from php -m :

# php -m | grep yaml
yaml

No comments:

Post a Comment