Giter VIP home page Giter VIP logo

Comments (6)

dzuelke avatar dzuelke commented on August 18, 2024

Oh, you're using HHVM. In that case, you don't have to enable the extension. Composer doesn't support it. It should be enabled out of the box.

from heroku-buildpack-php.

katmai avatar katmai commented on August 18, 2024
2014-05-01T09:38:22.167431+00:00 heroku[api]: Deploy 8f87ee6 by [email protected]
2014-05-01T09:38:22.167503+00:00 heroku[api]: Release v12 created by [email protected]
2014-05-01T09:38:31.094514+00:00 app[web.1]: vendor/bin/heroku-hhvm-apache2: line 110: hhvm: command not found
2014-05-01T09:38:31.097231+00:00 app[web.1]: This program requires HHVM 3.0.1 or newer
2014-05-01T09:38:32.635215+00:00 heroku[web.1]: Process exited with status 1
2014-05-01T09:38:29.694948+00:00 heroku[web.1]: Starting process with command `vendor/bin/heroku-hhvm-apache2`
2014-05-01T09:38:32.640702+00:00 heroku[web.1]: State changed from starting to crashed
2014-05-01T09:38:32.641478+00:00 heroku[web.1]: State changed from crashed to starting
2014-05-01T09:38:40.590674+00:00 app[web.1]: vendor/bin/heroku-hhvm-apache2: line 110: hhvm: command not found
2014-05-01T09:38:40.590737+00:00 app[web.1]: This program requires HHVM 3.0.1 or newer
2014-05-01T09:38:39.792152+00:00 heroku[web.1]: Starting process with command `vendor/bin/heroku-hhvm-apache2`
2014-05-01T09:38:41.816575+00:00 heroku[web.1]: Process exited with status 1
2014-05-01T09:38:41.839885+00:00 heroku[web.1]: State changed from starting to crashed

well okay, i tried to remove hhvm from composer.json but i get the same error message that hhvm is not found. in the docs, it says that hhvm should be enabled in composer. that's why i enabled it there.

regardless, composer errors out when trying to enable either - just hhvm, or just bcmath

from heroku-buildpack-php.

dzuelke avatar dzuelke commented on August 18, 2024

Well, it looks like you have web: vendor/bin/heroku-hhvm-apache2 in your Procfile; you should adjust that again to heroku-php-apache2.

from heroku-buildpack-php.

katmai avatar katmai commented on August 18, 2024

I did remove hhvm, i just enabled it to show you the hhvm error. This is what i keep getting when trying to enable ext-bcmath in composer

 app-prod]# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-bcmath * is missing from your system.

from heroku-buildpack-php.

dzuelke avatar dzuelke commented on August 18, 2024

Oh, is that locally on your system? You obviously need to install (or enable) the bcmath extension...

from heroku-buildpack-php.

katmai avatar katmai commented on August 18, 2024

It's the local system from which i push stuff to heroku. Do local installed packages have any effect on the things i can install in heroku? I can confirm that after i installed bcmath locally, and running composer update i could then push to heroku, but i don't see why do the local installation of bcmath being missing had any impact on the heroku push

from heroku-buildpack-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.