GD is freaking me out...

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
stuntedheight
-


Joined: 08 Nov 2003
Posts: 42

PostPosted: Sat May 15, 2004 11:58 pm    Post subject: GD is freaking me out... Reply with quote

I need to install GD on my server for PHP 4.3.4
I've got no idea what to do or how to install it. Im sure this has been answered somewhere, but I cant find it on these forums. Help anyone?
_________________
http://www.200mg.net
Back to top View user's profile Send private message AIM Address
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 16, 2004 12:15 am    Post subject: Reply with quote

http://www.boutell.com/gd/

Download it, and read the documentation on how to install.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
stuntedheight
-


Joined: 08 Nov 2003
Posts: 42

PostPosted: Sun May 16, 2004 12:17 am    Post subject: Reply with quote

Damn, that was the fastest reply I've ever gotten.
_________________
http://www.200mg.net


Last edited by stuntedheight on Sun May 16, 2004 12:30 am; edited 2 times in total
Back to top View user's profile Send private message AIM Address
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 16, 2004 12:27 am    Post subject: Reply with quote

Hehe... I'll take that as a "thank you."
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
stuntedheight
-


Joined: 08 Nov 2003
Posts: 42

PostPosted: Sun May 16, 2004 12:30 am    Post subject: Reply with quote

Well all I see is for C. I see nothing about how to make GD wrok with PHP 4.3.x. I see one thing on the website that says unquote extension=php_gd2.dll, except mine is'nt quoted to begin with. Nor do I have a extension_dir thing. _mass confusion_ What I do have instead of "extension=php_gd2.dll" is ;extension=php_gd2.dll. I tried un-simi-coloning it, and then it gave me an error saying it couldnt find php_gd2.dll. I searched my system and I dont have that, so Im even more confused because they said it was as easy as that. Its like I installed the wrong version of php. But I just reinstalled PHP 4.3.4 with the Windows Installer found on php.net. So Im just confused.

If anyone could just give me like step for step, or a link for a tutorial or something, that would be a big help
_________________
http://www.200mg.net
Back to top View user's profile Send private message AIM Address
stuntedheight
-


Joined: 08 Nov 2003
Posts: 42

PostPosted: Sun May 16, 2004 12:54 am    Post subject: Reply with quote

Wait, was I suppost to install PHP in the .zip version? I opened that up and I saw that it had all the DLLs I needed
_________________
http://www.200mg.net
Back to top View user's profile Send private message AIM Address
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 16, 2004 1:13 am    Post subject: Reply with quote

You did the right thing by removing the semicolon from "extension=php_gd2.dll," however you need the DLL (as you said yourself). Open the ZIP version you have, and extract the php_gd2.dll from it into your PHP directory.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
stuntedheight
-


Joined: 08 Nov 2003
Posts: 42

PostPosted: Sun May 16, 2004 10:15 am    Post subject: Reply with quote

Worked. Thank you.
_________________
http://www.200mg.net
Back to top View user's profile Send private message AIM Address
masa
-


Joined: 05 Apr 2004
Posts: 182
Location: Hong Kong

PostPosted: Sun May 16, 2004 10:23 am    Post subject: Reply with quote

whats GD im not sure and i want it if its useful to me and if its too hard explain to me especially i want trustpunk to do it or inanimate :) those are my favourite friends
_________________
Visit http://web26.hopto.org:443/ please help me make my site better http://web26.hopto.org:443/
Back to top View user's profile Send private message Send e-mail Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun May 16, 2004 7:11 pm    Post subject: Reply with quote

Thank you, masa.

A quote from PHP.net:
Quote:
PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including gif, png, jpg, wbmp, and xpm. Even more convenient, PHP can output image streams directly to a browser. You will need to compile PHP with the GD library of image functions for this to work. GD and PHP may also require other libraries, depending on which image formats you want to work with.

Basically, you can "...create and manipulate..." images in a web browser. Someone who posted a thread earlier needed GD for a Photo Gallery he was making. So when it comes to an image-based (and driven) website, GD can be useful.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group