我正在使用 Heroku 开发一个应用程序。我需要处理图像,但不幸jpeg
的是默认情况下不支持。我表示支持,这是他们的回答:
"We unfortunately don't support jpeg by default. But the good
news is that we open sourced our PHP buildpack, so hopefully the
community will be able to bring that in.
In case you're interested, the buildpack is here:
https://github.com/heroku/heroku-buildpack-php"
我知道我需要在PHP--with-jpeg
之前添加--with-gd
./configure
但是 buildpack 只提供了更新php.ini和编译文件的能力,而且它们都不包含要更新的魔法线 (./configure...) ...
有没有办法jpeg
通过提到的两个文件添加支持?