Page 1 of 1

Image functions - Installation

Posted: Tue Aug 19, 2003 11:31 am
by Bongulim
I need a helpful tip on how to install 'GD library' (they http://il.php.net/manual/en/ref.image.php say it's required) or libraries in general.
I'm stuck, I just want to get these functions to work.
I'm using win XP. any links/explanations/tutorials/TIPS how to install that would be welcome here.

Posted: Tue Aug 19, 2003 12:34 pm
by evilmonkey
On Windows it's really easy.

Go to your php.ini file in your windows directory, find "extensions, make sure the path to them is correct (e.g. C:\php4\extensions), and uncomment (remover the ";") in front of the line that says GD. If you want GD2, go to your extensions directory, and rename GD.dll to GD1.dll and GD2.dll to GD.dll.

Good luck.

Posted: Tue Aug 19, 2003 4:34 pm
by Bongulim
I uncommented
this line: ;extension=php_gd2.dll
now everytime I run a PHP script I get a message box says:
Warning
Unknown(): Unable to load dynamic library './php_gd2.dll' - The specified module could not be found.

I don't have any extentions folder, also these DLLs are nowere to be found.
EDIT: Were can I get it? a direct link would be perfect since I'm probably blind.

Posted: Tue Aug 19, 2003 5:29 pm
by Bongulim
Ok I solved it... grabbed the zip download of php, extracted the file from there and it works.
thanks!