coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: LMalnati on December 24, 2004, 04:19:23 AM

Title: gd2.dll could not be found
Post by: LMalnati on December 24, 2004, 04:19:23 AM
Currently gd2 is found in C:/PHP/Extensions/php_gd2.dll, but when I uncomment gd2 in php.ini, stop and restart Apache I get the following error;"Unable to load dynamic library C:\PHP\PHP_gd2.dll-The specified module could not be found.

Why is it not looking in the extension folder or should I have known to move this file.

Thanks in advance
Title: Re: gd2.dll could not be found
Post by: Tranz on December 24, 2004, 04:24:22 AM
did you specify the path for the extension folder?
Title: Re: gd2.dll could not be found
Post by: kegobeer on December 24, 2004, 04:26:21 AM
You haven't properly configured your php.ini file to tell Windows where to find the extensions.  Try changing extension_dir.

Also, this isn't a Coppermine installation question but a server setup issue.  You might want to review the php installation instructions at www.php.net.
Title: Re: gd2.dll could not be found
Post by: LMalnati on December 24, 2004, 04:38:21 AM
Keg O Beer,

You were right on.  I went to the PHP extension docs for windows and determined I had not set-up my path correctly.  For my initial set-up I was following the instructutions in Kevin Yanks book "Build Your Own DB Driven website" and he said to change this line to C:/PHP.

Thanks again
Title: Re: gd2.dll could not be found
Post by: kegobeer on December 24, 2004, 06:45:13 AM
No problem.  I've found that following the recommended installation at php.net (or apache or IIS) works better than someone else's interpretation of the installation instructions.