kitech / php-go

Write PHP extension using go/golang. Zend API wrapper for go/golang.
882 stars 108 forks source link

can't make for example main.go #38

Open dahuang1991 opened 6 years ago

dahuang1991 commented 6 years ago

$ make make: /usr/bin/php-config: Command not found make: /usr/bin/php-config: Command not found make: /usr/bin/php-config: Command not found make: /usr/bin/php-config: Command not found go install ./zend

github.com/kitech/php-go/zend

In file included from zend/goapi.go:5:0: ./array.h:1:10: fatal error: zend_API.h: No such file or directory

include

      ^~~~~~~~~~~~

compilation terminated. Makefile:31: recipe for target 'all' failed make: *** [all] Error 2

ghost commented 6 years ago

php开发库要安装,这库牛逼

dahuang1991 commented 6 years ago

php开发库是什么 是go的么

ghost commented 6 years ago

C的

deb: php7.2-dev rpm: php-devel

TZCV commented 6 years ago

default

TZCV commented 6 years ago

default

yymmhh commented 5 years ago

@di3663 MAC 下也遇到这种情况改装什么库