RE: [PEAR-CORE] installer fails detecting "gd"-extension on windows
| From: | Wez Furlong | Date: | Fri, 07 May 2004 15:29:55 +0000 |
| Subject: | RE: [PEAR-CORE] installer fails detecting "gd"-extension on windows | ||
| References: | 1 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-305@lists.php.net to get a copy of this message | ||
If pear runs php without loading the .ini file, GD won't be loaded.
I think you need a better way to determine if they have the extension, since
you need to skip loading extensions during an upgrade, otherwise you can't
overwrite the binary.
It is safe to assume that gd is present (even if its not loaded) on all
win32 systems.
--Wez.
> -----Original Message-----
> From: Stefan Neufeind [mailto:stefan@neufeind.net]
> Sent: 07 May 2004 15:45
> To: pear-core@lists.php.net
> Subject: [PEAR-CORE] installer fails detecting "gd"-extension
> on windows
>
> Hi,
>
> 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.
>
> What I got on windows:
>
> C:\Programs\Php>php -i | grep gd
> <h2><a name="module_gd">gd</a></h2>
>
> C:\Programs\Php>php -i | grep GD
> <tr><td class="e">GD Support </td><td
> class="v">enabled
> </td></tr> <tr><td class="e">GD Version </td><td
> class="v">bundled (2.0.22
> compatible) </td
> ></tr>
>
> C:\Programs\Php>pear install Image_Color
> downloading Image_Color-1.0.0.tgz ...
> Starting to download Image_Color-1.0.0.tgz (7,675 bytes)
> .....done: 7,675 bytes
> 'gd' PHP extension is not installed
> Image_Color: Dependencies failed
>
>
> What I got on Linux (with php 4.3.4):
>
> [me@test me]$ php -i | grep gd
> <h2><a name="module_gd">gd</a></h2>
> [me@test me]$ php -i | grep GD
> <tr><td class="e">GD Support </td><td
> class="v">enabled </td></tr>
> <tr><td class="e">GD Version </td><td
> class="v">bundled (2.0.15
> compatible) </td></tr>
> [root@test root]# pear install Image_Color
> downloading Image_Color-1.0.0.tgz ...
> Starting to download Image_Color-1.0.0.tgz (7,675 bytes)
> .....done: 7,675 bytes
> install ok: Image_Color 1.0.0
>
>
> Anybody has an idea or could possible try to track this down?
>
>
>
> Regards,
> Stefan
>
> --
> PEAR Core List Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>