I installed heroku-buildpack-php-tyler
on my Heroku app a few days ago, and it all seemed to work fine. I installed it by running the following command:
heroku config:set BUILDPACK_URL=git://github.com/iphoting/heroku-buildpack-php-tyler.git
However I now want to remove it. I tried using the following command:
heroku config:unset BUILDPACK_URL=git://github.com/iphoting/heroku-buildpack-php-tyler.git
But it returns the following error message:
Unsetting BUILDPACK_URL=git://github.com/iphoting/heroku-buildpack-php-tyler.git and restarting hnf-heroku... failed
! Resource not found`
Because PHP isn't officially supported by Heroku, there's not much documentation about this. So how do I uninstall this buildpack?
In the current version of heroku
(v3.1.0 as of this writing) you can use heroku buildpacks:remove [BUILDPACK_URL]
Typing heroku buildpacks help
lists the available commands:
buildpacks:add BUILDPACK_URL # add new app buildpack, inserting into list of buildpacks if neccessary
buildpacks:clear # clear all buildpacks set on the app
buildpacks:remove [BUILDPACK_URL] # remove a buildpack set on the app
buildpacks:set BUILDPACK_URL # set new app buildpack, overwriting into list of buildpacks if neccessary
Try:
heroku config:unset BUILDPACK_URL
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With