Re: Re: installer fails detecting "gd"-extension on windows
| From: | Stefan Neufeind | Date: | Fri, 07 May 2004 15:31:16 +0000 |
| Subject: | Re: Re: installer fails detecting "gd"-extension on windows | ||
| References: | 1 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-306@lists.php.net to get a copy of this message | ||
On 7 May 2004 at 17:06, Michael Wallner wrote:
> Hi Stefan Neufeind, you wrote:
>
> > on pear-general some "George" (Pseudomizer) said that he was unable
> > to install Image_Color on Win2k using the pear-installer because it
> > always complains that the dep to gd is not fulfilled. But he had
> > php_gd2.dll properly loaded. I checked myself and was able to
> > reproduce it, using the latest php 4.3.6 on Win2k with php_gd2.dll
> > enabled in the php.ini.
>
> Hi Stefan, no problems here though - same setup:
[...]
Well, after a lot of digging around in the wrong direction I now
found that it seems to be a problem with the command-line
interpreter. The pearinstaller here uses
"C:\Programs\Php\cli\php.exe" while the test-scripts that I execute
manually use "C:\Programs\Php\php.exe". Simply copying the php.ini
that has loading of php_gd2.dll enabled to the cli-subdirectory
helps. I just wonder why at mike php knows where to search for the
ini-file ... hmm ... Mike, can you maybe tell me?
Anyway, sorry for making such a fuzz of it :-))
Stefan