【问题标题】:How to enable ZTS and install pthreads with php5.4 in centos 7?如何在centos 7中启用ZTS并使用php5.4安装pthreads?
【发布时间】:2016-03-24 18:50:25
【问题描述】:

我正在使用带有 php 版本 5.4.45 的 Centos7,但我无法配置 pthread。

请帮我完成一些安装、配置和编译的步骤 pthread 库。

提前致谢。

【问题讨论】:

  • 无法是什么意思?
  • 用标签更新句子
  • 出现错误 make: *** 没有规则可以创建目标 /root/php-5.4.36/ext/pthreads/php_pthreads.c', needed by ext/pthreads/php_pthreads.lo'。停止。
  • @Rohit 检查{php_path_on_your_pc}/ext 文件夹.. 查看pthreads 文件夹是否存在.. 如果不使用wget 下载到pecl.php.net/package/pthreads 文件夹中

标签: pthreads centos7 php-5.4 zts


【解决方案1】:

按照https://blog.flowl.info/2015/compile-php-5-6-pthreads-mongo-ubuntu/中提到的步骤方法

这里他们使用的是 php-5.6.12 版本。更改为您的要求

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-13
    • 2020-04-15
    相关资源
    最近更新 更多