php 5.2.11 - is there a way to go backwards

Asked by Chris Borkowski

Hi,

I am new here and was wondering if slightly older versions of php52 packages are available.
I have my RHEL 5 box set and using IUS packages but becasue of a specific bug in php-gd that was introduced in 5.2.12 I need to go backwards at least to php 5.2.11 in order for my applications to run right.

Is there a way to get the RPM's and tell yum to use older versions ?

thanks
Chris

Question information

Language:
English Edit question
Status:
Solved
For:
IUS Community Project Edit question
Assignee:
No assignee Edit question
Solved by:
Chris Borkowski
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
BJ Dierkes (derks) said :
#1

Hello,

Currently, only recent previous versions of a package remain in the repo. A better solution would be to report the bug via LaunchPad, and reference the upstream PHP bug. As soon as the PHP developers commit a fix to subversion we can backport those patches to our current versions (in most cases).

That said, I re-tagged the last 5.2.11 release to add it back to the repo. You will need to add 'php52*' to your excludes definition in the ius.repo via Yum, and manually pull down the packages and install them with RPM. You can download the packages from:

http://dl.iuscommunity.org/pub/ius/stable

Revision history for this message
Chris Borkowski (cborkowski) said :
#2

Many thanks. I will being to download the RPMS - will take a while to swap out on several servers.

I think the bug was reported here :
http://bugs.php.net/bug.php?id=51207

should I report it on launch pad ?

In short, GD is having multiple issues when composting text on images, GD will incorrectly position the text on the background. So if one was making buttons or banners via PHP-GD they could turn out with unexpected results.

Again many thanks and Keep up the awesome work here.

best
Chris

Revision history for this message
BJ Dierkes (derks) said :
#3

Thanks Chris. Yes, please create a bug on http://bugs.launchpad.net/ius so that we can look into backporting the fix(es) in the meantime while we wait for the next release. It looks like they are 'close' to a proper fix, but not quite there.

Revision history for this message
Chris Borkowski (cborkowski) said :
#4

I'll report it.
Many thanks again for re-tagging 5.2.11

Revision history for this message
Chris Borkowski (cborkowski) said :
#5

I hate to ask again to post some older version of PHP 5.2.X but 5.2.11 didnt' solve the problem with the "imagettftext" function in GD.
I am not sure if the bug is correctly documented or that it's more symptomatic or other bugs that were found in that function.

Seeing as how my main production server is at Rackspace and they said the can install as far back as php 5.2.8 could you re-tag the 5.2.8 branch so I could give it a shot on my development severs.

We did develope a script that is running properly on 5.1.6 & 5.2.4 - so there seems to be a narrow zone of PHP versions where GD is not experiencing these bug.

I'll post bug reports as I narrow this problem down.

Sorry and thanks at the same time.

Revision history for this message
BJ Dierkes (derks) said :
#6

Chris I've re-tagged the last version of php52-5.2.10 available. Hopefully that works out for you.

http://dl.iuscommunity.org/pub/ius/stable

Revision history for this message
Chris Borkowski (cborkowski) said :
#7

many thanks again.