Skip to content

HHVM support? #4

@beatscode

Description

@beatscode

I'm trying to use php-go with hhvm

Here are the steps I've done so far.

  • Install hhvm-dev
  • Cloned https://github.com/arnaud-lb/php-go
  • Changed to php5 branch
  • Cd to php-go/etc/
  • Run make
  • Make install
  • Go get https://github.com/arnaud-lb/php-go
  • Write example go script
  • Run buildmode c-shared
  • Update php.ini to point to .so file
  • enable hhvm.enable_zend_compat=1
  • Tried running hhvm and got undefined symbol = zend_new_interned string
    • [Wed Jul 25 16:05:17 2018] [hphp] [1:7fa402c81980:0:000001] [] Uncaught exception: Could not open extension /etc/hhvm/phpgo.so: /etc/hhvm/phpgo.so: undefined symbol: zend_new_interned_string\n

So my issue right now is that i need to run hphpize but it cannot find config.cmake. Not sure what needs to be in this file.

Here's a few links that might help
https://github.com/hhvm/extension-example
https://github.com/facebook/hhvm/wiki/Extension-API

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