unattended PECL installs?
| From: | anon ibid | Date: | Mon, 20 Sep 2010 15:23:26 +0000 |
| Subject: | unattended PECL installs? | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-7660@lists.php.net to get a copy of this message | ||
Greetings!
I am writing a script to install my software on a server, which must install
a PECL extension as part of the install process.
The problem I'm having is that the PECL script requires input from STDIN in
order to install. I'm specifically trying to install the memcache extension
like so:
pecl install memcache
Since this is a script, there will be no STDIN input and so I wonder
if there is a way to pass options to the pecl installer somehow. I
imagine something like:
pecl install memcache --enable-php-sessions
But I can't find any mention of this in any documentation anywhere.
If you have any clues, I'd love to learn how this can be done!
Thanks.
anon.ibid