installer fails detecting "gd"-extension on windows
| From: | Stefan Neufeind | Date: | Fri, 07 May 2004 14:44:46 +0000 |
| Subject: | installer fails detecting "gd"-extension on windows | ||
| Groups: | php.pear.core | ||
| Request: | Send a blank email to pear-core+get-302@lists.php.net to get a copy of this message | ||
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