ID: 31603 Updated by: [EMAIL PROTECTED] Reported By: seb at akretio dot be -Status: Open +Status: Bogus Bug Type: GD related Operating System: Mandrake 9.2 PHP Version: 4.3.8 New Comment:
This is not the place to ask questions about how to develop new extensions for PHP. Use the internals@lists.php.net mailing list. Or the PECL stuff (http://pecl.php.net) Most likely the reason is that you're linking different versions of libgd2 (by loading php-gd, whateverthatis, it's linked with either the bundled functions). Way to fix: Use same gd library for both. (compile them yourself!) Previous Comments: ------------------------------------------------------------------------ [2005-01-19 03:47:38] seb at akretio dot be Description: ------------ I'm working on an extension for php, compiled with Kylix for the linux version and Delphi for the windows version. My extension provides some chart functions using libgd2 (I access directly libgd2 from within the extension). Everything is working fine unless I install php-gd. If php-gd is installed, the only result I can get from libgd is a black image, but without php-gd, everything is working like a charm. (Tested with several versions of libgd). The problem is only appearing under linux and there is no such problem with the windows version of PHP. I cannot give you any code to reproduce the problem, you have to believe me but I have searched several days, my code is working fine under linux/windows and is working perfectly without php-gd. But if you are ok to check it, I can send you the files to test it with my extension. I could live without php-gd, but if the problem can be solved, I would be very happy! PS: Already asked about this at boutell but they sent me back here as the problem is only appareaing when php-gd is loaded. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31603&edit=1