私はHerokuを使ってアプリを開発しています。イメージを操作する必要がありますが、残念ながらjpeg
はデフォルトではサポートされていません。私はサポートと話し、ここにその答えです:Heroku PHPビルドパックに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
の./configure
にちょうど--with-gd
前--with-jpeg
を追加する必要があります。しかしbuildpackだけPHPを更新することができます知っています。 INIとファイルをコンパイルし、それらのどれもが(... ./configureを)更新する魔法の行が含まれていません...
は、2つのファイルを述べてjpeg
サポートを追加する方法はありますか?
HerokuのPHPサポートは正式であり、公式でよく管理されたビルドパックがありますので、[composer.json](https://github.com/delight-im/Heroku-PHP)にImageMagickを含めることができます-Apache2/blob/master/composer.json)ファイルを 'ext-imagick'として保存するか、' ext-gd'を使います。 – caw