缺少针对JPEG文件导致问题的Heroku PHP GD设置 [英] Lack of Heroku PHP GD setup for JPEG files causing issues
本文介绍了缺少针对JPEG文件导致问题的Heroku PHP GD设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我该如何解决这个问题?
解决方案
我的选择是使用<$改为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.
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屋!
查看全文