Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: gd2.dll could not be found  (Read 3949 times)

0 Members and 1 Guest are viewing this topic.

LMalnati

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
gd2.dll could not be found
« 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
« Last Edit: December 24, 2004, 09:32:48 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: gd2.dll could not be found
« Reply #1 on: December 24, 2004, 04:24:22 am »

did you specify the path for the extension folder?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: gd2.dll could not be found
« Reply #2 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

LMalnati

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: gd2.dll could not be found
« Reply #3 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: gd2.dll could not be found
« Reply #4 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.