Re: Re: pear install package failed with GD extension dependency
| From: | Laurent Laville | Date: | Sat, 12 Feb 2005 23:31:39 +0000 |
| Subject: | Re: Re: pear install package failed with GD extension dependency | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-36170@lists.php.net to get a copy of this message | ||
Firman Wandayandi a écrit :
On Sat, 12 Feb 2005 11:11:31 -0800, Justin Patrin <papercrane@gmail.com> wrote:I guest this the Laurent's php.ini problem, where the php.ini placed? C:\Windows\php.ini? Cause if running the command prompt PHP seem get the configuration from that file. I'm using WindowsXP box, but no problem with extension such GD, Image_Color-1.0.1 installed, cause i place php.ini at C:\Windows, but i place php.ini for webserver (Apache) at C:\Program Files\Apache Group\Apache. The PHP (PHP 4.3.10) installed at C:\Program Files\PHP4 I hate the solution to put a copy of php.ini in C:\windows directory , but Firman has right. It's fix the problem. Howerver, if i forgot to dupplicate the modifications done on master file php.ini into \Apache directory i could have others problem ;-) With php.ini only in \apache directory and command windows xp box, pear install pkg with GD dependency failed If i put a copy of \apache\php.ini into C:\Windows dir . All run fine ! Sorry to disturb the community for such problem ! I'd prefered got an answer about my problem posted on pear main list about new major pkg version init ;-) btw Thanks allOn Sat, 12 Feb 2005 18:24:20 +0100, Laurent Laville <pear@laurent-laville.org> wrote:This is likely because your command-line version of PHP doesn't have GD loaded whereas the web version does. Run phpinfo() from the command-line PHP interpreter and see fi it says it has GD.Pierre-Alain Joye a écrit :Hello Pierre-Alain, With pear 1.3.1 (my previous version installed) i got only a warning message that keep me aware that extension was not installed, even if it was not TRUE. But i may install such package (image_color) without using the -n option of pear install. Now to install this package, i've of course used the -n option. Difference between my old config and the new one are : pear 1.3.1 => 1.3.4 php 4.3.9 with gd => php 4.3.10 with gdAre you sure you try it using the same php configuration? For example, running pear from the php folder, without any php.ini loaded and load phpinfo from your webserver? --Pierre