#46030 [NEW]: Bundled GD for Windows does not work

2008-09-09 Thread paulschechter at yahoo dot com
From: paulschechter at yahoo dot com
Operating system: Windows 2000
PHP version:  5.2.6
PHP Bug Type: GD related
Bug description:  Bundled GD for Windows does not work

Description:

I cannot get GD on my windows system with PHP5 to work.  My phpinfo() says
"--with-gd=shared" ".  This is the only instance of the word 'gd' I have in
the phpinfo() text (no "GD Support enabled").

This is what I've done so far:
-Reinstalled PHP5.2.6 making sure to include the GD extension in the
installation.
-Ensured that the extension_dir path in my php.ini file was correct
-uncommented extension=php_gd2.dll
-ensured that php_gd2.dll is in fact, in the 'ext' directory
-Installed an external version of GD (gd-2.0.33-1)

I think that I have to somehow direct PHP to the external version of GD,
but I do not know how to do this.  Any help would be greatly appreciated.
Thank you.

Reproduce code:
---
No code.

Expected result:

I expect GD to work and my phpinfo() text to say that GD is actually
enabled, not just shared.

Actual result:
--
GD doesn't work and phpinfo() just says GD is shared.

-- 
Edit bug report at http://bugs.php.net/?id=46030&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=46030&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=46030&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=46030&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46030&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=46030&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=46030&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=46030&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=46030&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=46030&r=support
Expected behavior:http://bugs.php.net/fix.php?id=46030&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=46030&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=46030&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46030&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=46030&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46030&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=46030&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=46030&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=46030&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=46030&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=46030&r=mysqlcfg



#46030 [Fbk->Opn]: Bundled GD for Windows does not work

2008-09-09 Thread paulschechter at yahoo dot com
 ID:   46030
 User updated by:  paulschechter at yahoo dot com
 Reported By:  paulschechter at yahoo dot com
-Status:   Feedback
+Status:   Open
 Bug Type: GD related
 Operating System: Windows 2000
 PHP Version:  5.2.6
 Assigned To:  pajoye
 New Comment:

Hi, thanks for the fast reply.  Wow, I feel kind-of dumb because I've
been working on this bug for a couple of days now, but restarting
apache2.2 seemed to do the trick.  Thanks a lot!

I imagine it probably wasn't all that simple because I've restarted my
computer many times over the last couple days to no avail.  However,
more recently I added the lib files from my external installation of gd
into my php lib directory...and I don't think I had restarted apache
since then.  So maybe the restart after doing this made it work...who
knows.  Anyway, thanks again.


Previous Comments:


[2008-09-09 17:11:32] [EMAIL PROTECTED]

The configure line is only an information. It does not say that the
extension is loaded or not.

Only the GD table (like the other extension) can a be a proof that GD
is loaded.

Please check:

- the right php.ini is used (phpinfo() tells you which one you use)
- the extension_dir is an absolute (c:\php5\ext for example)
- you have restarted your server



[2008-09-09 17:01:17] paulschechter at yahoo dot com

Description:

I cannot get GD on my windows system with PHP5 to work.  My phpinfo()
says "--with-gd=shared" ".  This is the only instance of the word 'gd' I
have in the phpinfo() text (no "GD Support enabled").

This is what I've done so far:
-Reinstalled PHP5.2.6 making sure to include the GD extension in the
installation.
-Ensured that the extension_dir path in my php.ini file was correct
-uncommented extension=php_gd2.dll
-ensured that php_gd2.dll is in fact, in the 'ext' directory
-Installed an external version of GD (gd-2.0.33-1)

I think that I have to somehow direct PHP to the external version of
GD, but I do not know how to do this.  Any help would be greatly
appreciated. Thank you.

Reproduce code:
---
No code.

Expected result:

I expect GD to work and my phpinfo() text to say that GD is actually
enabled, not just shared.

Actual result:
--
GD doesn't work and phpinfo() just says GD is shared.





-- 
Edit this bug report at http://bugs.php.net/?id=46030&edit=1