I am getting the following result, despite the fact that libyaml is installed.
[root@odin ~]# /opt/plesk/php/7.2/bin/pecl install yaml
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading yaml-2.0.4.tgz ...
Starting to download yaml-2.0.4.tgz (39,071 bytes)
..........done: 39,071 bytes
8 source files, building
running: phpize
Configuring for:
PHP Api Version: 20170718
Zend Module Api No: 20170718
Zend Extension...
How to install YAML extension in PHP 7.2
[root@odin ~]# /opt/plesk/php/7.2/bin/pecl install yaml
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading yaml-2.0.4.tgz ...
Starting to download yaml-2.0.4.tgz (39,071 bytes)
..........done: 39,071 bytes
8 source files, building
running: phpize
Configuring for:
PHP Api Version: 20170718
Zend Module Api No: 20170718
Zend Extension...
How to install YAML extension in PHP 7.2