Page MenuHomePhabricator

Phabricator should generally work properly even if "gd" is not installed
Open, LowPublic

Description

Some Phabricator workflows fatal if gd is not installed. gd is a PHP extension used to manipulate images (for example: resizing thumbnails and compositing profile images).

Although we rely on gd for image-related features, we should generally have reasonable fallback behaviors when gd is not available, and Phabricator should mostly work without gd until administrators get around to installing it.


Originally

Trying to create a new project when php-gd is not installed, throws an error:

Call to undefined function imagecreatefromstring()
/home/avive/devtools/phabricator/src/applications/files/builtin/PhabricatorFilesComposeIconBuiltinFile.php:131

We describe gd as "optional".

Also, selecting a built-in pokemon for a user's profile picture fails without gd ("This server only supports these image formats: .").

Event Timeline

eadler added a project: Restricted Project.Aug 5 2016, 5:05 PM
epriestley renamed this task from New Project flow assumes gd is installed to Phabricator should generally work properly even if "gd" is not installed.Nov 30 2017, 9:46 PM
epriestley triaged this task as Low priority.
epriestley updated the task description. (Show Details)