You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
There is an easy solution to fix that. You need to set the environment variable USE_ZEND_ALLOC=0. (Source: http://stackoverflow.com/a/10092026/2560143) I had the same issue but starting my application this way worked for me:
USE_ZEND_ALLOC=0 php app.php
You can write a little startup script or define the variable maybe in your .bash_profile.
For usage in a script use:
Environment
PHP 7.0.4 (cli) (built: Mar 25 2016 14:58:54) ( ZTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
PHP Warning: Module 'pthreads' already loaded in Unknown on line 0
Version => 3.1.6
Linux #7 SMP Mon Aug 24 13:46:31 EDT 2015
Summary
https://github.com/krakjoe/pthreads/blob/master/examples/SocketServer.php
The text was updated successfully, but these errors were encountered: