2013-10-09 136 views
0

我试了1个月在我的CentOS x64 6.x上安装pthreads。我的服务器使用Zend Engine 2.3.0运行apache2和php 5.3.3。我的问题与其他许多人一样,当我尝试安装'pecl install pthreads'时它说: configure:error:在.....- 0.0.45(pthread版本) 配置:错误:找不到C编译器在$ PATH 我尝试谷歌,但不是运气。希望有人能把它推进给我。非常感谢 对不起,我英文不好在CentOS上为PHP安装pthreads

回答

4

你需要安装一个编译器和构建工具,像

yum install gcc gcc-c++ autoconf automake 

应该让你工作构建环境。