php - 在 MacOS 上配置 gearman php 扩展失败 - 错误:未知类型名称“zend_object_value”
问题描述
我尝试使用此指令在 MacOS 上安装 Gearman PHP Extension for php 7.4:
tar xzf gearman-X.Y.tgz
cd gearman-X.Y
phpize
./configure
make
make install
并在 ./configure 处出错
dev/gearman/gearman-1.1.2/php_gearman.c:1011:2: error: unknown type name 'zend_object_value'
解决方案
似乎需要使用原始版本的php-configure。对于我的情况:
./configure --with-php-config=/usr/local/Cellar/php/7.4.10/bin/php-config
解决问题
推荐阅读
- ms-access-2016 - 计算空字段
- javascript - 坐标计算:如何将旋转的 HTML 主体上的对象分别转换为 0 度旋转主体
- javascript - 如何完全从 JavaScript 定义 CSS 动画?
- google-apps-script - UrlFetchApp.fetch() 在约 4 秒后突然产生“异常:超时”错误
- typescript - 尝试在模块中传递环境变量
- firebase-realtime-database - 如何处理 Firebase 电子邮件警告
- java - 如何从Java中的聚合桶中获取值以获取elasticsearch聚合查询结果
- java - 为什么我得到:'%','(',
,, '?', FUNCTION 或标识符,得到 '('? - c# - 从 dataGridView INTO 数据库表中插入列值
- php - 在php中删除所有没有az和波兰字符的字符