缺少针对JPEG文件导致问题的Heroku PHP GD设置 [英] Lack of Heroku PHP GD setup for JPEG files causing issues

查看:130
本文介绍了缺少针对JPEG文件导致问题的Heroku PHP GD设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Heroku不支持JPG格式的GD设置。由于这个原因,我无法创建拼贴画,只有jpg格式。我有相同的问题,因为下面的链接。



http://groups.google.com/group/heroku/browse_thread/thread/5f0b169272dd075f/5926d2e6eace859c?utoken=sizyOCkAAAD0zGxoh6dI3732ocaO_CKc0UdN2a4MLXn0dn7f9oF9dw34Femrnx-0ZHcOkI9yXY0



我该如何解决这个问题?

解决方案

我的选择是使用<$改为c $ c> imagick.so 扩展。查看我的回复@stackoverflow 此处获取说明如何快速启动并运行此扩展程序。让我知道这是否有效(我尝试的几个基本功能都可以)。

Heroku的官方buildpack没有列出PHP。奇怪。

Heroku does not support GD setup for jpg. Because of this I am not able to create collage out of profile pics, which are only in jpg format. I am having the same issue as the below link.

http://groups.google.com/group/heroku/browse_thread/thread/5f0b169272dd075f/5926d2e6eace859c?utoken=sizyOCkAAAD0zGxoh6dI3732ocaO_CKc0UdN2a4MLXn0dn7f9oF9dw34Femrnx-0ZHcOkI9yXY0

How do I resolve this issue?

解决方案

My alternative was to use imagick.so extension instead. See my reply @stackoverflow here for instruction how to get this extension up and running quickly. Let me know if this works (the few basic functions I tried are ok).

The official buildpack from Heroku doesn't list PHP. Strange.

这篇关于缺少针对JPEG文件导致问题的Heroku PHP GD设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆