gpt4 book ai didi

linux - Pecl Swoole php插件在linux centos上安装失败

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:35:30 25 4
gpt4 key购买 nike

我试图通过 pecl 安装 swoole(一个 php 插件)并从源代码手动构建。两种方法都因错误而失败

/usr/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or 'attribute' 之前'' 标记/usr/include/php/ext/pcre/php_pcre.h:38: 错误:在 '' token /usr/include/php/ext/pcre/php_pcre.h:44: 错误:'pcre' 之前的预期说明符限定符列表make: *** [swoole.lo] 错误1错误:`make' 失败

任何人都可以阐明这一点吗?

最佳答案

好吧,我只是yum 安装 pcre-devel在运行安装之前。

关于linux - Pecl Swoole php插件在linux centos上安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49681765/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com