php Install pthreads extension

来源:互联网 发布:陕西省软件企业协会 编辑:程序博客网 时间:2024/05/16 06:56

1.检查php版本是不是支持线程安全的

php -i | grep Thread

You should expect:

Thread Safety => enabled
If you have Thread Safety enabled, it should be the case that fixing the permissions on php_dir will fix your problem.

If you do not, you will have to rebuild, or install from another source, a Thread Safe build of PHP.


去php.net下载压缩包,解压并暗转下面的链接操作就可以了


very good:

http://stackoverflow.com/questions/22232865/how-to-enable-pthreads-on-mamp

0 0
原创粉丝点击