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
本文介绍如何检查PHP版本是否支持线程安全,并提供了解决方案。若不支持,则需重新编译或从其他源安装支持线程安全的PHP版本。
7795

被折叠的 条评论
为什么被折叠?



