【问题标题】:phpize issues on mac os with MAMP使用 MAMP 在 mac os 上 phpize 问题
【发布时间】: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 文件中获取标签吗?

【问题讨论】:

    标签: php macos tags mp3 id3


    【解决方案1】:

    找到更好的解决方案http://www.getid3.org/ 我刚刚下载了一个存档,将其解压缩到站点目录,并根据自述文件中的测试(访问 /demos/demo.browse.php)将 mp3 文件放到目录中,我可以看到它的标签。精美的图书馆。

    【讨论】:

      猜你喜欢
      • 2012-01-15
      • 2012-08-29
      • 1970-01-01
      • 2012-09-14
      • 2012-05-29
      • 2016-10-07
      • 2015-04-15
      • 2014-12-14
      • 2022-01-22
      相关资源
      最近更新 更多