upgrading php and gd version causes script to stop working
Posted: Fri Jul 22, 2011 3:19 pm
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?
Thanks in advance
Clinton Brits
Has anyone had a similar issue or could perhaps some insight into what might be happening between the versions?
Thanks in advance
Clinton Brits