upgrading php and gd version causes script to stop working

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
clintonbrits
Forum Newbie
Posts: 1
Joined: Fri Jul 22, 2011 3:11 pm

upgrading php and gd version causes script to stop working

Post by clintonbrits »

I used a manually installed apache server with php 5.2.6 with the gd library installed to produce my site scripts but i looked into download the latest version of the wamp server with gd2 and php version 5.3.5 and the first thing you notice is the number of errors you get that need slight changes to be made. The one thing i still cannot figure out is why my image resizing script doesn't work. It worked perfectly on the previous version but no image is returned on the newer version. To try and solve the problem, i went back to basics and i just tried to create the image from png (createimagefrompng) and then just echo it back to the browser using @imagePNG($img) but this just gives the characters of the data and not the image.

Has anyone had a similar issue or could perhaps some insight into what might be happening between the versions? :banghead:

Thanks in advance
Clinton Brits
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: upgrading php and gd version causes script to stop worki

Post by Benjamin »

:arrow: Moved to Installation and Configuration
Post Reply