X
X
XenK2016-06-11 18:33:01
PHP
XenK, 2016-06-11 18:33:01

Heroku error when pushing?

I did everything according to the official instructions, through the Heroku Toolbelt. When I try to run: It
git push heroku master
gives the following error:

Push rejected, failed to detect set buildpack heroku/php

What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
XenK, 2016-06-11
@XenK

Solved the problem by adding an empty "composer.json" file to the directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question