Php – How to pass configure options when installing php extensions with pecl

peclPHPpuppet

There is a PHP extension to which I need to pass a configure option when I install it with a pecl command. I can't find a way to do this.

Of course I can install it manually, but I need it to be able to install it with single command – so that it is easily installable through puppet.

Any ideas?

Best Answer

To just accept the defaults, you may use this:

printf "\n" | pecl install memcache

Found here.