Re: CLI Web Server customization
| From: | Johannes Schlüter | Date: | Tue, 12 Nov 2013 10:50:04 +0000 |
| Subject: | Re: CLI Web Server customization | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70102@lists.php.net to get a copy of this message | ||
hi,
On Thu, 2013-11-07 at 10:39 +0900, Yasuo Ohgaki wrote:
> CLI server has only basic ZTS support and cannot execute scripts
> concurrently.
> It would be nice if CLI server supports ZTS fully and execute script with
> ZTS mode.
> It's good for ZTS debugging.
For zts debugging you can look at https://github.com/johannes/pconn-sapi
which I initially wrote to help testing persistent connection-like
things but which also supports threaded use. See also
http://schlueters.de/blog/archives/166-Testing-persistent-connection-and-thread-safety-features-in-PHP.html
johannes