GD2 trouble GD2 trouble
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

GD2 trouble

Started by kangaSpotter, August 19, 2006, 11:00:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kangaSpotter

Hi,

I'm completely new to coppermine and am trying to get it running on my local (Apache) server.  I also have PHP 5.0.4 so I followed these instructions from the FAQ section of the coppermine website:
Quote
GD 1.x 2.x are normally part of all standard PHP distributions under Windows
Go to "extensions" subdir and see if you have a file named "php_gd2.dll" (YES)
Ocassionally, you will also need to edit your php.ini file
(located in windows directory normally) and remove the ";" that is at the
beginning of the line: extension=php_gd2.dll (at the end of the file).
This will cause PHP to load the GD2 extension.

When I do all this and restart the server, it says: "Unable to load dynamic library './php_gd2.dll' -The specified module could not be found".
Also, I find no GD table when I run phpinfo().  So do I really have gd2 under PHP 5.0.4 or not?  PLEASE HELP!  Confused! ???

Joachim Müller

This is not actually a coppermine issue, but a question of server setup. GD2 comes bundled with PHP packages. If you're not using a pre-made package, but compiled it for yourself, then you probably don't have GD and need to re-compile PHP with GD support. However, this board is not the best place to ask for support on setting up your server in the first place - there are better resources for that. You even failed to post what operating system you use and what webserver package (IIS, Apache, Zeus etc.).
If you're actually using Windows and a pre-made package, there are other things that need to be taken into account: you can't have both GD1 and GD2 enabled simultaneously, so check that as well.