首页 > 解决方案 > 如何在 PECL 上设置或跳过包配置?

问题描述

pecl install redis在 Travis 上运行,但它挂在:

enable igbinary serializer support? [no] : 

如何设置或跳过此配置?

标签: phprediscontinuous-integrationtravis-cipecl

解决方案


尝试yes | pecl install redisyes no | pecl install redis

yes是 GNU coreutils 包的一个程序:

$ yes --help
Usage: yes [STRING]...
  or:  yes OPTION
Repeatedly output a line with all specified STRING(s), or 'y'.

推荐阅读