TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-10-2009, 02:46 PM   #1 (permalink)
The Visitor
 
Join Date: Feb 2009
Location: Apple Valley, MN
Posts: 2
Thanks: 0
Holoweb is on a distinguished road
Default Installing GD Library on Windows Server 2003/IIS6?

Hello Everyone,
Name is Mike. I am the lead web developer for my company, Holoweb, Inc and we recently started working with PHP/MySQL. We started by installing PHP5/MySQL on our web server which is Windows Server 2003 with IIS6. Everything is working properly, MySQL, PHP5, etc... We were able to install Wordpress and everything seems to work properly besides a certain plugin that uses the GD Image Library.

Now I know that we needed to download the dll and place it in the c:\php5\ext\ folder and then edit the php.ini file to uncomment the "extension=php_gd2.dll" section.

All that is done, I restarted IIS and i'm still getting this error:

GD Library Error: imagecreatetruecolor does not exist

Anyone have any suggestions as to how I should go about fixing this issue?

All the best!
__________________
Michael
Lead Web Developer | Holoweb, Inc
Phone: 952-452-1463 ext 801
Holoweb is offline  
Reply With Quote
Old 02-11-2009, 05:01 PM   #2 (permalink)
The Visitor
 
Join Date: Feb 2009
Location: Apple Valley, MN
Posts: 2
Thanks: 0
Holoweb is on a distinguished road
Default

No help...?
__________________
Michael
Lead Web Developer | Holoweb, Inc
Phone: 952-452-1463 ext 801
Holoweb is offline  
Reply With Quote
Old 02-11-2009, 05:47 PM   #3 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,215
Thanks: 90
Wildhoney is on a distinguished road
Default

To which location does your extension_dir variable point to in php.ini? I don't know any specifics because I haven't used IIS in my life, I'm afraid.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 05-18-2009, 05:22 PM   #4 (permalink)
The Wanderer
 
Join Date: May 2009
Location: Columbus, Ohio
Posts: 10
Thanks: 0
wjgilmore is on a distinguished road
Default

I'm rather late participating in this thread (new to the forum) but thought I'd add my $0.02 as this is a commonplace issue and some hints might help others having the same problem. Although it's not possible to say for sure what your particular problem might be, perhaps a few tips might help.

As Wildhoney asks above, your extension_dir configuration directive is likely not pointing to the correct location, which should be to the ext directory found in your PHP installation directory. If this is the case, PHP won't be able to find the gd2 DLL.

However, given the nature of this particular error (imagecreatetruecolor does not exist) I'd speculate there's some DLL mixup on your system, and you have the GD DLL installed rather than the GD2 DLL. I bring this up because the imagecreatetruecolor functions are not found in the GD1 DLL. Check your PHP installation's ext directory to see which version you have.

Hope this helps,
Jason
__________________
==
Author, "Easy PHP Websites with the Zend Framework"
http://www.easyphpwebsites.com
wjgilmore is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Http_use_agent sarmenhb Absolute Beginners 1 01-04-2009 01:36 AM
ldap server Gibou Advanced PHP Programming 4 07-10-2008 10:38 AM
Hosting website to the internet using windows server 2003? patmagpantay Advanced PHP Programming 7 01-17-2008 11:04 PM
Windows mail server Haris Absolute Beginners 5 01-17-2008 01:37 AM


All times are GMT. The time now is 04:48 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design