Multi Threading Extension

suggest change

Remarks

pthreads v3 loads only in the CLI SAPI, and only in a ZTS (thread-safe) build. Keep extension=pthreads.so in php-cli.ini, not in the web SAPI ini. The 3.x line targets PHP 7.

If you are using Wamp on Windows, you have to configure the extension in php.ini :

Open php\php.ini and add:

extension=php_pthreads.dll

Concerning Linux users, you have to replace .dll by .so:

extension=pthreads.so

This appends the directive every time it runs. Change /etc/php.ini to the CLI ini path:

echo "extension=pthreads.so" >> /etc/php.ini

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents