Alex Palaistras

Results 46 comments of Alex Palaistras

Hi, which OS and distribution are you trying to run this on?

Try building with the `debian` tag: ``` go get -u -v -tags 'php7 debian' github.com/deuill/go-php ```

Is it possible that you haven't installed the right package? You'd need to install `libphp-embed`.

Apologies for the delay in responding to these PRs, and thanks for doing the work. Looking now.

Would it make more sense to allow for setting the initial INI values for the engine, since these can not be changed in a per-context basis, and allow callers to...

Good insight, thanks! I'll delve a bit deeper in these crashes, since the code around method receiver bindings *is* somewhat terrible. From what I can tell, `php_request_shutdown` destroys the `interned_strings`...

Hi, in general, most PHP packages do not include the necessary libraries that Go needs to link against. Your best bet is either using the included Docker container (which you...

Generally speaking, calling `context.Destroy()` or `engine.Destroy()` will gracefully shut down PHP and call any defined `__destruct` handlers for instantiated classes. So, for a PHP script like this: ```php

Correct, running concurrent scripts in the same context is treacherous, even if the two share no global scope (class names, function names, global/file-level variables etc). There is no real way...

While the way PHP handles thread-safety has been cleaned up between PHP 5.x and 7.x (starting with [this commit](https://github.com/php/php-src/commit/bdeb220f48825642f84cdbf3ff23a30613c92e86)), the principle is the same: configuring PHP with `--enable-maintainer-zts` will define...