Skip to content

Push Rejected using Buildpack #165

Description

@Indemnity83

I have a basic CakePHP app which is so far only a clone of the friendsofcake/app-template. I setup environmental variables as defined in the app-template readme:

heroku config:set BUILDPACK_URL=https://github.com/CHH/heroku-buildpack-php
heroku config:set LOG_PATH=/app/vendor/php/var/log/
heroku config:set SECURITY_SALT=<my-salt>
heroku config:set SECURITY_CIPHER_SEED=<my-seed>

but when I push my repo to heroku I get a non-descript failure:

-----> Fetching custom git buildpack... done
-----> PHP (composer.json) app detected
-----> Bundling NGINX 1.4.4
-----> Bundling PHP 5.5.10
-----> Bundling extensions
       apcu
       phpredis
       mongo

 !     Push rejected, failed to compile PHP (composer.json) app

If I adjust the BUILDPACK_URL to git://github.com/CHH/heroku-buildpack-php#development I get slightly more information, but I'm not familiar enough with how these buildpacks work yet to locate the line being referenced.

-----> Fetching custom git buildpack... done
-----> PHP (composer.json) app detected
-----> Bundling NGINX 1.4.4
-----> Bundling PHP 5.5.10
-----> Bundling extensions
       apcu
       phpredis
       mongo
 !     Script error in /tmp/buildpack_d2d0b3810362adb2c4695c0d4c1550c2/bin/compile on or near line 368

 !     Push rejected, failed to compile PHP (composer.json) app

My repo is private, but I've made a gist of my current composer.json for scruteny in case its something I changed. I only added a couple libraries and scripts to aid in development and testing a CakePHP app.

Any thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions