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