How to install GD on Heroku

后端 未结 3 1384
长发绾君心
长发绾君心 2021-02-14 16:10

I am running Laravel 5.3 and trying to do some image manipulation. I get this error: GD Library extension not available with this PHP installation.

I\'ve tried putting g

3条回答
  •  醉梦人生
    2021-02-14 17:06

    I run composer require ext-gd and git push heroku master it did work.

    I tried add "gd": "*" to composer.json and perform composer update but when push to Heroku meet error with Class 'Symfony\Component\HttpFoundation\InputBag' not found. I think it's not only update ext-gd with composer update

提交回复
热议问题