Open dukryung opened 5 years ago
Hi, there's a number of issues already open concerning these sorts of errors, but the gist of the issue is that either php-embed
isn't installed (including development headers), or that Go can't find them. However, compilation hasn't been tested on Windows, and I don't have access to a Windows computer so I cannot be of much help.
You can, however, try to compile within a Docker image which you can build by calling make docker-image
here, or using one of the (admittedly fairly old) pre-built images: https://hub.docker.com/r/deuill/go-php/tags
on os x it's the same problem
go:11:23: fatal error: main/php.h: No such file or directory // #include <main/php.h> ^ compilation terminated.
OS -> windows 10.
i don't know how to fix it.