http://php.net/manual/en/ref.yaml.php
Чтобы установить расширение PECL yaml, я открыл терминал и набрал:
Код: Выделить всё
brew install libyaml
Код: Выделить всё
sudo /usr/local/php5/bin/pecl install pecl_http
Код: Выделить всё
sudo /usr/local/php5/bin/pecl install yaml
Код: Выделить всё
3 warnings and 16 errors generated.
make: *** [yaml.lo] Error 1
ERROR: `make' failed
Код: Выделить всё
Fatal error: Call to undefined function yaml_parse_file()
Подробнее здесь: https://stackoverflow.com/questions/430 ... ion-on-mac
Мобильная версия