How can I add jpeg support to Heroku PHP buildpack

后端 未结 1 1980
攒了一身酷
攒了一身酷 2020-12-16 08:22

I am developping an app using Heroku. I will need to manipulate images but unfortunately jpeg is not supported by default. I spoke with support and here is thei

相关标签:
1条回答
  • 2020-12-16 09:24

    Current workaround is to install imagick.so - have compiled the library and instruction @ github https://github.com/alkhoo/heroku-cedar-php-extension

    Also compiled apc.so since it is missing from Heroku's extension. The gd.so extension cannot be used since Heroku's PHP had GD compiled in php* binary. Waiting for someone to create a PHP buildpack without GD compiled.

    Others have compiled zlib.so and mbstring.so (in case anyone is interested).

    0 讨论(0)
提交回复
热议问题