Re: unattended PECL installs?
| From: | anon ibid | Date: | Mon, 20 Sep 2010 15:50:27 +0000 |
| Subject: | Re: unattended PECL installs? | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7662@lists.php.net to get a copy of this message | ||
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
>>
>
>