Hi jsim,
Thanks for you reply.
I tried the following in my windows 2000 local server.
I disabled the gd2 by changing php.ini entry
;extension=php_gd2.dll
extension_dir = "./extensions"
enable_dl = On
============================================================
In my test.php I used the following code
$ExtensionPath = getcwd();
dl( $ExtensionPath . "\temp\" . "php_gd2.dll");
//where in "temp" folder within the webserver root folder I have copied gd2 library
$destImage = imageCreateTrueColor(200, 200) or die ("Cannot Initialize new GD image stream");
// the above function call is to check whether the gd library is really working
============================================================
I get the following error:
Warning: dl(): Unable to load dynamic library './extensions\d:\inetpub\apache\hkics\temp\php_gd2.dll' - The specified module could not be found. in d:\inetpub\apache\hkics\test.php on line 11
Fatal error: Call to undefined function: imagecreatetruecolor() in d:\inetpub\apache\hkics\test.php on line 19
============================================================
I think the it looks for the library file inside the folder used in the extension_dir settings.
Please share your ideas.
Thanks a lot.
Hameed