|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
include GD on windows
I need to resize pictures on my web site, and I understand that I Need a library called GD for making this work. I’m running an Apache/mysql/php-package called “phptriad2-2-1” and I’m running it on Windows NT and Windows XP OS. Does anybody knows how to install GD, so I can use the image-manipulation functions?
|
|
#2
|
|||
|
|||
|
RE: include GD on windows
you need to modify the php.ini file to tell php to use the GD extension. Add the following line to the php.ini file
extension="php_gd.dll" then make sure that the file php_gd.dll ids located in the directory specified in the line extension_dir in the in file as well. By default the extension dir will be the default install directory C:php hope that helps... |
|
#3
|
|||
|
|||
|
RE: RE: include GD on windows
Well.. thanks for the tip, but now I get this errormessage:
"Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in c:apachehtdocsupload.php on line 35" How do I fix this one? |
|
#4
|
|||
|
|||
|
RE: include GD on windows
The manual states that the GD library is available at:
http://www.boutell.com/gd/ I visited the site and there is a version greater than 2.0 there. Just download and replace the file! |
|
#5
|
|||
|
|||
|
RE: include GD on windows
The lastest php zip file located at:
http://www.php.net/downloads has the proper dll file... |
|
#6
|
|||
|
|||
|
RE: include GD on windows
Thanks!
Now it is working! |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > include GD on windows |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|