go-php7
                                
                                 go-php7 copied to clipboard
                                
                                    go-php7 copied to clipboard
                            
                            
                            
                        Compatible to 7.1.x? And how i build it from source?
Hi Taowen,
is it compatible to php7.1.x?
And how i use it to build it with own source? Like with #2 as setup.sh?
@Dexus not tested with php7.1.x
Yes, using the script provided in https://github.com/taowen/go-php7/issues/2
hmm, okay I'm not able to create it this way... not 7.0 nor 7.1.
can you look into it and make clear hot how to install and what are the requirments?
You need to cmopile libphp7.a first. Are you able to do that? It is statically linked into the golang binary with hard coded path https://github.com/taowen/go-php7/blob/master/engine/php7-static.go
If you are not using ubuntu, the hard coded path is likely to be not working for you.
Okay now I get
...go-php7/engine/engine.c:170: undefined reference to get_accel_zend_extension'`
and the build brakes...
seems like php 7.1 issue?
no its with 7.0
After removing the loader code from engine.c for the opcache it works.
After change some files i was able to use php7.1 but with the ppa:ondrej/php repo
https://github.com/Dexus/go-php7/
excellent