php_gd.dll configure

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sarbas
Forum Commoner
Posts: 64
Joined: Thu Jan 04, 2007 5:51 am

php_gd.dll configure

Post by sarbas »

Hi,

I am using some image functions in my program.While i am try to run the program it shows GD2 GIF support not available. I don't have php_gd.dll file in my php.ini. So how can i download it and configure it .


HOPEFULLY WAITING FOR YOUR REPLY..
SARBAS
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

If you look through php.ini, the line that includes the extension should be about half way down the file (;extension=php_gd2.dll) -- all you need to do is uncomment the line be removing the leading semi-colon. The dll file should already be present in the /ext directory.
sarbas
Forum Commoner
Posts: 64
Joined: Thu Jan 04, 2007 5:51 am

DLL

Post by sarbas »

hi aaronhall,

thanks for your reply.I already changed that.. but still having that problem...

Can you give some suggestions

Thanks
Sarbas
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

Have you restarted apache? Have a look at the phpinfo() dump and make sure it isn't installed.
sarbas
Forum Commoner
Posts: 64
Joined: Thu Jan 04, 2007 5:51 am

hi

Post by sarbas »

Hi,

I already did it. I already got the GD heading in phpinfo.but still got the error.

thanks
Sarbas
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

GD or GD2?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You may need to update your installation of PHP.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

You need to post a copy of the error...
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

GIF support only reappeared in GD2 about two years ago. You can have a working install of GD2 and still not have gifs. If you installed PHP prior to that you'll need to upgrade it.
Post Reply