【问题标题】:Install pthreads for PHP on CentOS在 CentOS 上为 PHP 安装 pthreads
【发布时间】:2013-10-09 10:11:35
【问题描述】:

我尝试了 1 个月在我的 CentOS x64 6.x 上安装 pthreads。我的服务器使用 Zend Engine 2.3.0 运行 apache2 和 php 5.3.3。我的问题与许多其他人一样,当我尝试安装“pecl install pthreads”时,它说:

配置:错误:在.....-0.0.45(pthread版本)

配置:错误:在 $PATH 中找不到可接受的 C 编译器

我尝试用谷歌搜索,但不是运气。希望有人可以提前给我。非常感谢 对不起英语不好

【问题讨论】:

    标签: php pthreads centos


    【解决方案1】:

    你需要安装编译器和构建工具,比如

    yum install gcc gcc-c++ autoconf automake
    

    应该会给你一个工作的构建环境。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-05-27
      • 1970-01-01
      • 2016-05-03
      • 2011-01-08
      • 2019-06-22
      • 2013-06-11
      • 2015-03-26
      相关资源
      最近更新 更多