I'm trying to install event
extension for PHP using pecl. During the installation I get several prompts:
Enable internal debugging in Event [no] :
Enable sockets support in Event [yes] :
libevent installation prefix [/usr] :
Include libevent's pthreads library and enable thread safety support in Event [no] :
Include libevent protocol-specific functionality support including HTTP, DNS, and RPC [yes] :
Include libevent OpenSSL support [yes] :
PHP Namespace for all Event classes [no] :
openssl installation prefix [no] :
But ofc that only happens in the interactive mode. I need to do this without interaction, for instance in Dockerfile. The default values don't work for me so I need to change them with command line options. How?
Keep in mind that I need to answer differently for each question so yes '' | pecl install ...
doesn't work at all. Also one of the questions needs a path and not yes/no.