Page 1 of 1

Enabling GD v2

Posted: Fri Dec 19, 2003 9:28 pm
by tristanlee85
Ok. I'm trying to run my image gallery with thumbnails, but when I enable the thumbnail option, all I get is red x's on the thumbnails. So, I was reading around and found out that in my php.ini file, I need to remove the ; in front of

Code: Select all

;extension=php_gd2.dll
to enable it. So, I did, restarted apache, and it still doesn't work. I browsed for the file and I found it in the extension directory. Why isn't this being enabled?

Posted: Fri Dec 19, 2003 9:35 pm
by Gen-ik
The first things which spring to mind are..

A: You've edited the wrong php.ini file. There's one in the main PHP file directory and then there's one in the Windows directory (if your using windows of course). You should edit the one in the Windows directory.

B: There's something wrong with your PHP code that generates the image thumbnails.

Posted: Fri Dec 19, 2003 9:57 pm
by tristanlee85
Ahh. I'm using 2000 Pro. I didn't find one in the Windows directory, so I did a search. I found 1 files in c:\nusphere\apache and one is c:\nusphere\apache\php. I have been editing c:\nusphere\apache\php, but it didn't work. So, I tried the other and it works now. Thanks for the help :)