mongofill / mongofill-hhvm

A mix of the original Mongofill extension + BSON implementation in C++
MIT License
32 stars 19 forks source link

in console works, but in daemon mode - no #44

Closed karpa13a closed 9 years ago

karpa13a commented 9 years ago

Hello! build ext with

HipHop VM 3.10.0-dev (rel)
Compiler: heads/master-0-g414225a15b25c5ff5a8ab4ab992fae5cbbff067a
Repo schema: 437ff2b60fac8bf4c84d1d84c574d794b063a04f

in console simple script works as expected (added recommended lines to /etc/hhvm/php.ini):

<?php

$a = bson_encode(array(1=>'as'));
var_dump(bson_decode($a));

but in daemon mode got error

Call to undefined function bson_encode() in ...

hhvm daemon running as

/usr/bin/hhvm --config /etc/hhvm/php.ini --config /etc/hhvm/server.ini --user www-data --mode daemon -vPidFile=/var/run/hhvm/pid -vLog.Access.\*.File=/var/log/hhvm/access.log

do i need enable this module in daemon mode somehow strange?

karpa13a commented 9 years ago

aggr. this is permission issue. why hhvm do not fail at start that is the question.