Is there an API function thats me if the php interpreter is threadsave?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • llothar

    Is there an API function thats me if the php interpreter is threadsave?

    I'm working on an IDE and need a way to detect if the server is thread
    safe or not to auto-generate the correct php-ini with either
    "zend_extension _ts=my-cool-debugger-stuff.so" or "zend_extension =my-
    cool-debugger-stuff_ts.so"

    I couldn't find something. Is there any other way then parsing the
    phpinfo output for "Thread Safety disabled"?
Working...