解决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
分类:电脑技术
标签:
评论已关闭!