phpv8 / heroku-v8js

Custom platform packages of V8Js for Heroku
13 stars 1 forks source link

Fatal error: Class undefined: V8Js #1

Closed Snaver closed 8 years ago

Snaver commented 8 years ago

Hi

I can't for the life of me get this to work, it appears that V8Js isn't loaded. I assume this should be automagically available in my script? I wonder if I've missed a step?

My setup:

Any hints for what I might have missed would be a great help!

stesie commented 8 years ago

V8Js is a PHP extension, it does not apply to HHVM

Snaver commented 8 years ago

Ah yes, sorry that was me testing..

My actual Procfile: web: vendor/bin/heroku-php-apache2

dzuelke commented 8 years ago

You also need to require ext-v8js in your composer.json.

Snaver commented 8 years ago

Thank you dzuelke, this was the step I was missing :)

Much appreciated !