标签:扩展 com 语言 val pac serve ext bash ref
转自:https://learnku.com/articles/30985
Yaml,专门用来写配置文件的语言
$ sudo apt-get install libyaml-dev
$ wget https://pecl.php.net/get/yaml-2.0.4.tgz
$ tar zvxf yaml-2.0.4.tgz
$ cd yaml-2.0.4
$ phpize
$ ./configure --with-php-config=/www/server/php/72/bin/php-config
$ sudo make
$ sudo make install
extension = yaml.so
$ php -m | grep yaml
输出 yaml
表示成功
标签:扩展 com 语言 val pac serve ext bash ref
原文地址:https://www.cnblogs.com/maidongdong/p/11627782.html