ID: 13743
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: GD related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.0.6
New Comment:

Then let's close this bug...
It's in the 4.1 todo anyway:
* Make all extensions thread-safe.

Previous Comments:
------------------------------------------------------------------------

[2001-10-21 09:31:06] [EMAIL PROTECTED]

GD is not thread safe... so it may crash if PHP is used as ISAPI module.

Derick

------------------------------------------------------------------------

[2001-10-21 09:15:07] [EMAIL PROTECTED]

I've heard something about GD being not thread safe (at least, not on Windows). Can 
someone confirm this? If it's not thread safe, that might be the cause of this 
crash...

Once again, try the php_gd.dll from PHP-4.0.5, which contains a stable version of GD.

------------------------------------------------------------------------

[2001-10-21 01:35:00] [EMAIL PROTECTED]

the script that I used is almost the same that comes with the PHP documentation ...
the error come when I use the ImageTTFText() function in intensive matter, in other 
words I called this function about 5-10 times in almost one secound
example of calling 
<img scr="writeText.php?Text=Anything;Fnt=Verdana.ttf;Dest=c:\a1.jpg">

<img scr="writeText.php?Text=Anything2;Fnt=Verdana.ttf;Dest=c:\a2.jpg">

and I wrote this code serveral time in the same page ...
is that should cause the problem ?

------------------------------------------------------------------------

[2001-10-20 13:04:46] [EMAIL PROTECTED]

Can you provide a sample script?

It might be a problem with GD 2.0, which is still beta. You can try downloading 
PHP-4.0.5 from http://www.php.net/downloads.php and use php_gd.dll from that 
distribution (it should work fine with 4.0.6).

------------------------------------------------------------------------

[2001-10-19 07:25:47] [EMAIL PROTECTED]

Let's keep this one open...

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/?id=13743


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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to