Re: unattended PECL installs?

From: Date: Mon, 20 Sep 2010 18:28:18 +0000
Subject: Re: unattended PECL installs?
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-7665@lists.php.net to get a copy of this message
That's what I am currently doing, but I was wondering if there was a more robust way to do this... it seems that the answer is No. Thanks for your reply! On Mon, Sep 20, 2010 at 12:44 PM, Bostjan Skufca <bostjan@a2o.si> wrote: > Use > > # printf "yes\n" | pecl install memcache > > if memcache package requires you to answer "yes" once. > > b. > > > On 20 September 2010 17:50, anon ibid <anon.ibid@gmail.com> wrote: > > Yes, that's one option for PECL modules that have YUM packages, but are > you > > saying that it's not possible to parameterize the install using the pecl > > command? > > > > > > > > On Mon, Sep 20, 2010 at 10:30 AM, Wes Thompson <wes@uresu.com> wrote: > > > >> Use yum's versions of the pecl package and install with > >> > >> yum -y install php-pecl-apc > >> > >> Wes > >> > >> On Mon, Sep 20, 2010 at 3:23 PM, anon ibid <anon.ibid@gmail.com> wrote: > >> > >>> 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 > >>> > >> > >> > > > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pecl.dev (#7665) next »