Re: Installing Image_Color and other Image packages failed

From: Date: Wed, 22 Feb 2006 15:38:32 +0000
Subject: Re: Installing Image_Color and other Image packages failed
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23089@lists.php.net to get a copy of this message
On 2/21/06, Louie Miranda <lmiranda@gmail.com> wrote: > Oh, i think i dont have the CLI libabry. Because the PHP was installed as a > package though. > I'll try to force the installation. CLI is a type of binary. That is very likely what you're running on the command-line. The only way that you could be using the same version of php on the command-line (with the pear command) that you're using on the web is if you have PHP set up as CGI and you're also using the CGI binary on the command-line (which you shouldn't do, really). Just try forcing it and see if it works. ;-) > > Thanks > > On 2/22/06, Justin Patrin <papercrane@gmail.com> wrote: > > > > On 2/21/06, Louie Miranda <lmiranda@gmail.com> wrote: > > > web:~ root# pear install Image_Color > > > pear/Image_Color requires PHP extension "gd" > > > No valid packages found > > > install failed > > > web:~ root# > > > > > > I got an error that it requires PHP extension "gd", But my php has a GD > > > already. Is pear looking for a extions.so file? or something? How can i > > make > > > this work? > > > > > > > Does the version of PHP you're using to install (the CLI binary) have > > gd? It's quite likely that your web version has it but not the CLI > > version. You can just force the installation and it will work fine if > > this is the case. > > > > "pear help" > > > > -- > > Justin Patrin > > > > > > -- > Louie Miranda (lmiranda@gmail.com) > http://www.axishift.com > > //JSM-W > -- Justin Patrin

« previous php.pear.general (#23089) next »