Failed to install extension: pdo_mysql
未关闭
还没有人认领这个 Issue。
Bug
Category: Build System
Extension: pdo_mysql
OS: macOS
Status: Needs Triage
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
I'm not sure whether my command is correct:
cd /opt/homebrew/Cellar/php/8.4.1/include/php/ext/pdo_mysql
/opt/homebrew/bin/phpize
./configure --with-php-config=/opt/homebrew/bin/php-config --with-pdo-mysql
make
make install
Then it returned: make: *** no rule to make target " ".stop
PHP Version
PHP 8.4.1
Operating System
macOS Sonoma 14.2.1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 macOS 上重现 /opt/homebrew/Cellar/php/8.4.1/include/php/ext/pdo_mysql 中的 phpize、configure、make 和 make install 命令。检查 pdo_mysql 扩展的构建入口点,并确定报告的 make 错误是来自命令序列还是扩展源代码。确定原因和受支持的安装路径后即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- mysql, php
- 领域
- build-system, databases
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100