deuill / go-php

PHP bindings for the Go programming language (Golang)
MIT License
930 stars 105 forks source link

How do I configure the build environment with php library ? #37

Closed mirazero closed 7 years ago

mirazero commented 7 years ago

Hi, I am a beginner in Golang. Your package is essential to me.

I don't know whether it's right, but I downloaded php library source from below site.

Once build it, i met continue to encounter errors that header files can't find.

----- error
E:\WorkSpace\Dev\src\github.com\deuill\go-php>go get github.com/deuill/go-php
# github.com/deuill/go-php/engine
engine\context.go:11:23: fatal error: main/php.h: No such file or directory
 // #include <main/php.h>
                       ^
compilation terminated.

What is wrong with it? What should I do to correct this error?

thanks,