解决yaml_emit undefined

2020-04-22 11:48 阅读 1,805 views 次 解决yaml_emit undefined已关闭评论
解决Fatal error: Uncaught Error: Call to undefined function yaml_emit()

sudo yum install libyaml

sudo pecl install yaml

======方法2===========

Download the source package: http://pyyaml.org/download/libyaml/yaml-0.2.4.tar.gz.

To build and install LibYAML, run

$ ./configure
$ make
# make install

 

wget https://pecl.php.net/get/yaml-2.0.4.tgz

cd  /www/server/php/72/src/ext/yaml-2.0.4

/www/server/php/72/bin/phpize
./configure --with-php-config=/www/server/php/72/bin/php-config  
make
make install
 
版权声明:本文著作权归原作者所有,欢迎分享本文,谢谢支持!
转载请注明:解决yaml_emit undefined | 文档
分类:电脑技术 标签:

评论已关闭!