PHP pthreads: Fatal error: Class 'Thread' not found

前端 未结 6 1481
小蘑菇
小蘑菇 2020-12-06 05:28

I use php5.5 on my webserver. Now I want to use pthreads. Here\'s my php config: http://dd19010.kasserver.com/infophp.php55

After implementing this code.....

6条回答
  •  时光取名叫无心
    2020-12-06 05:50

    I think you need to include the extensions int he php.ini file, because I can't see it in the config. You can see that each library has its own section like MySQL, but there isn't such for the threads. I haven't used threads ever but that should be a good place to start from.

提交回复
热议问题