I’m on Centos 7 / apache.
I compiled php with ZTS and compiled pthreads.
With zts-php -i | grep -i thread I get:
/etc/php-zts.d/pthreads.ini Thread Safety => enabled pthreads
Everything is okay on this side. The problem is that phpinfo tells me that Thread Safety is not activated. And when I run a php script containing a Thread class I get a “Fatal error: Class ‘Thread’ not found” error.
How to force Apache to activate ZTS mode?