kitech/php-go

How do you compile for PHP 5?

sanbornm opened this issue · 2 comments

PHP7 works great but when I try to compile on PHP 5 I get:

../../vendor/github.com/kitech/php-go/zend/szend.c: In function '_gozend_function_exists_ht':
../../vendor/github.com/kitech/php-go/zend/szend.c:189:2: error: unknown type name 'zend_string'
  zend_string *name;
  ^
../../vendor/github.com/kitech/php-go/zend/szend.c:191:2: error: unknown type name 'zend_string'
  zend_string *lcname;

oh, i forgot the php v5.
need more work for php v5.
thanks.

should be fixed. give a try if have time.