问题:

configure: error: Please install libyaml

解决方法,安装libyaml

https://github.com/yaml/libyaml/archive/0.2.5.tar.gz

tar xf 0.2.5.tar.gz

cd libyaml-0.2.5.tar.gz
./bootstrap
./configure
make
make install

再安装yaml

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

tar -zxvf yaml-2.0.4.tgz
cd yaml-2.0.4
phpize
./configure --with-php-config=/usr/local/php7.3/bin/php-config
make && make install