【发布时间】:2015-04-04 18:06:29
【问题描述】:
好吧,我再次尝试根据this question 的手册在 MAC OS X YOSEtime 10.10.2 上的 MAMP 上安装 id3 php。
我用pear update-channels它更新了
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
其他人是最新的。
pecl install --force id3
当然给我config.mp4 not found
我找到了目录:
/private/tmp/pear/cache/
id3-0.2.tgz 保存在那里。
所以我在那里提取了它。将目录更改为 id3-0.2 并在那里运行phpize。它说:
grep: /Applications/MAMP/bin/php/php5.6.2/include/php/main/php.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.6.2/include/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.6.2/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
所以没有必要使用下一个命令。也许我可以以某种方式配置phpize 以显示正确的文件路径?
或者您能建议其他方式从 php 中的 mp3 文件中获取标签吗?
【问题讨论】: