note 43853 added to install.windows

From: Date: Tue, 06 Jul 2004 14:37:03 +0000
Subject: note 43853 added to install.windows
Groups: php.notes 
Request: Send a blank email to php-notes+get-72764@lists.php.net to get a copy of this message
I had php4 running fine under Windows XP/Apache 2, then decided to upgrade from the CGI version to the SAPI version of php. When I did that, php worked but I kept getting a message that the dynamic library php_gd2.dll could not load. The extension path in php.ini was correct and the updated dll existed in that directory. This feature had previously worked fine so I knew it ought to work. I finally found a program called Dependency Walker (http://www.dependencywalker.com/) that indicated that php_gd2.dll is dependent on php4ts.dll so I knew that was the source of the problem. I made sure the path where php4ts.dll was located (/php/sapi/ in my case) was in my Windows default path list, but that still didn't work) I finally figured out that I had an old php_gd2.dll in my Windows /system32/ directory from the previous installation. When I removed that old file, everything worked fine. A good reason not to put that file into the system32 directory in the first place! (but if you put it somewhere else, you need to be sure the windows path list includes the directory where the good copy of that file is located.) ---- Manual Page -- http://www.php.net/manual/en/install.windows.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43853 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43853&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43853&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72764) next »