ID:               25542
 User updated by:  robert at profundis dot se
 Reported By:      robert at profundis dot se
-Status:           Feedback
+Status:           Open
 Bug Type:         GD related
 Operating System: Windows XP Professional SP1
 PHP Version:      4.3.3
 New Comment:

> It even seems you are mixing some different php4ts.dll of
> previous releases.

So it seems...

> Please make sure that relevant dlls have completely been
> removed from your box before the upgrade to 4.3.3.

I'm quite sure that it is the correct dlls that are in use. All
php-files I can find on the system partition are current, as well as
the Apache module. All references in php.ini points to the current
(new) PHP directory. GD 2.0.15 is loaded, and php_gd2.dll wasn't
distributed in any previous release I had.

...

I just did another restart of Apache, and the popups seem to vanish. I
did not do any changes since the last restart, so I don't know what
caused them nor what made them go away. Perhaps Windows found it clever
to "cache" the old dll for a while?

Thanks, and sorry for bugging you.

Robert Andersson


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

[2003-09-15 08:14:25] [EMAIL PROTECTED]

> I am pretty sure that it is not due to mixed files on my part;both
PHP and GD shows expected versions.

It even seems you are mixing some different php4ts.dll of previous
releases. Please make sure that relevant dlls have completely been
removed from your box before the upgrade to 4.3.3.

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

[2003-09-15 08:06:06] robert at profundis dot se

Description:
------------
After upgrading to from PHP 4.3.1-dev to 4.3.3 in order to access the
bundled GD2 functions, this problem occurs. Due to Windows inherent
hostility towards development, I've been using the precomiled binary
distribution. I'm running PHP as module under Apache 2.0.44 on Windows
XP Pro SP1.

When, in php.ini, the extension php_gd2.dll is loaded, it will cause
two (related) popups in succession about once a minute, with the
following messages:

#1: "The procedure entry point _safe_emalloc could not be located in
the dynamic link library php4ts.dll"
#2: "Unknown(): Unable to load dynamic library
%{MY_PHP_PATH}\extensions\php_gd2.dll"

It will not popup immediately after I start Apache but the first come
after about a minute. It do not seem related to execution of PHP
scripts either. If I don't load php_gd2.dll, this does not happen.

Everything seems to be working fine, however. Even GD functions works
as expected; pre-v2 functions does a good job, and I could use
imagecreatetruecolor() which requires v2.

I would guess that there is some inconsistency in the build, but I'm
not sure why the result isn't worse in that case. I am pretty sure that
it is not due to mixed files on my part; both PHP and GD shows expected
versions.

Vaguely similar bugs I found here does not seem to match this problems,
as these seem to be fatal unlike this one.



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


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

Reply via email to