I'm trying to implement threads in php and with xampp on windows I can do this, however i have a linux server with cpanel and in configurations the Thread Safety is disabled, how can i put enabled on my server linux? I call phpinfo() and it shows that "Thread Safety" is disabled
You have two options:
--enable-maintainer-zts
I'm quite sure cPanel has a configuration screen that will allow you to reconfigure and rebuild, a quick google turns up this, which appears relevant:
http://forums.cpanel.net/f442/how-install-php-pthreads-zts-387252.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With