Re: PHP 4.3.4 and Image_Color package <-> 'gd' support
| From: | Stefan Neufeind | Date: | Fri, 07 May 2004 15:35:23 +0000 |
| Subject: | Re: PHP 4.3.4 and Image_Color package <-> 'gd' support | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12349@lists.php.net to get a copy of this message | ||
On 7 May 2004 at 4:19, Pseudomizer wrote:
> i have installed IMAGE_GIS on my unix server without any problems. Now I
> am trying to install the same on a W2k server.
>
>
>
> IMAGE_GIS has 3 dependencies which I could install on unix but not on
> windows. I could only install 2 out of 3 on windows.
>
> When I try to install the Image_Color package I get the error message:
>
>
>
> 'gd' PHP extension is not installed
Hi George,
simple solution - though it takes quite long to find out, if you're
digging in the complete wrong direction :-)) The installer uses
php.exe from the subdirectory "cli\" while all other scripts use
either php as a module or from one directory above "cli\". The
problem is that the cli-variant does not know where to load the
php.ini, in which you enabled loading of the gd2-extension.
Quickfix: Copy your php.ini to the cli-subdirectory as well. Then it
worked fine here. I'm still wondering where cli\php.exe searches for
php.ini, but unfortunately there is no strace available on Windows :-
)
Hope it helps. Kind regards,
Stefan
PS: Could you please use your full realname in the headers when
posting to the mailinglists?