php5-gd package missing functions (imagerotate etc.)

Bug #1294074 reported by James Lewis
This bug report is a duplicate of:  Bug #74647: php5-gd not using bundled GD library. Edit Remove
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
php
New
Undecided
Unassigned
php5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

There appears to be several people online reporting issues with php5-gd in Debian & Ubuntu which are complaining about missing functions. I felt that it was worth captuing as this may be a packaging issue, I've tested on 14.04 latest and I can replicate the issue... it is fine on RedHat however, for example.

To quote some existing posts on the subject:-

"The version Ubuntu uses misses some functions like imagerotate and imageantialias, which are needed by an increasing number of software projects."

The issue can be replicated as follows:-

"Make sure you have php5-cli, php5-gd.

First, check if you even have a problem. On the commandline type:
php -r "var_dump(function_exists('imageantialias'));"
This will return bool(false) if you are missing the function imageantialias(), and bool(true) if the function is pressent."

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: php5-gd 5.5.9+dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 18 11:37:15 2014
InstallationDate: Installed on 2013-10-25 (143 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: php5
UpgradeStatus: Upgraded to trusty on 2014-01-17 (59 days ago)

Revision history for this message
James Lewis (james-fsck) wrote :
Revision history for this message
James Lewis (james-fsck) wrote :

Cut/paste fail... clearly you don't need rpm or mc installed to replicate this.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php5 (Ubuntu):
status: New → Confirmed
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This is a duplicate of a long-standing "Won't Fix" issue. As far as I can determine from the previous comments, PHP upstream have forked GD and not sent their changes upstream, and it is Debian and Ubuntu's policy to use system libraries over bundled ones for security reasons. See the original bug for details.

Please do continue to report any other bugs you find.

James Lewis (james-fsck)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.