如题,如何安装 php的 ID3 扩展?
查了 网上的 PHP Manual 手册
得到以下 信息To install the PHP/Pecl audio file ID3 functions onto Fedora 13 with Apache 2.2.17:
1) Download PHP5.X or higher.
2) Configure, Make and Make Install PHP as desired.
2) After PHP is up and running download the latest version of ID3.X (0.2 or higher)
3) CD to php5.X/ext dir.
4) Uncompress ID3.x into the ext dir.
5) CD into your ID3.X dir.
6) Run the following:
1) phpize (ignore phpize failed error).
2) ./configure
3) make
4) make install
7) Add extension=/SomeDir/SomeDir/php-5.X/ext/id3-0.2/modules/id3.so to your php.ini file.
8) Restart Apache.
9) Test your installation with a MP3 that has valid ID3 Tags. I suggest that you edit your mp3 file with EasyTag or Kid3 (Preferred. Be sure to convert the tags to version 2.3 from the tools menu). 本人英文水平有限
基本上只看懂两点:
1.下载 id3-0.2,2.修改 php.iniid3-0.2 我已下载,但是php.ini我还真看不懂要怎么改
请高手帮帮忙,谢谢!
查了 网上的 PHP Manual 手册
得到以下 信息To install the PHP/Pecl audio file ID3 functions onto Fedora 13 with Apache 2.2.17:
1) Download PHP5.X or higher.
2) Configure, Make and Make Install PHP as desired.
2) After PHP is up and running download the latest version of ID3.X (0.2 or higher)
3) CD to php5.X/ext dir.
4) Uncompress ID3.x into the ext dir.
5) CD into your ID3.X dir.
6) Run the following:
1) phpize (ignore phpize failed error).
2) ./configure
3) make
4) make install
7) Add extension=/SomeDir/SomeDir/php-5.X/ext/id3-0.2/modules/id3.so to your php.ini file.
8) Restart Apache.
9) Test your installation with a MP3 that has valid ID3 Tags. I suggest that you edit your mp3 file with EasyTag or Kid3 (Preferred. Be sure to convert the tags to version 2.3 from the tools menu). 本人英文水平有限
基本上只看懂两点:
1.下载 id3-0.2,2.修改 php.iniid3-0.2 我已下载,但是php.ini我还真看不懂要怎么改
请高手帮帮忙,谢谢!
解决方案 »
- 求救:BugFree中调用一个在线编辑器
- zend studio xdebug 57% waiting for xdebug session
- htmlarea编辑器图片%22
- php如何通过获取本机当前日期,获取之前4天的日期?
- 分析数据:
- PHP乱码~
- 怎样对这样的数组排序?
- 为什么php开源社区不为php开发一个编译器?
- php session过期问题
- PHP 解压zip 问题 ,MAC系统上传zip文件到网站,网站使用PHPzip解压,出错,,,win下正常
- 请问大侠如何管理数据库链接
- 我有一个GBK的xml。loadXML simplexml_import_dom后,居然编码在gbk 或 gb2312下都是乱码了
下载PHP5.*或者更高版本
2) Configure, Make and Make Install PHP as desired.
编译php
2) After PHP is up and running download the latest version of ID3.X (0.2 or higher)
启动php后下载ID3.X或者(0.2 或者更高版本)
3) CD to php5.X/ext dir.
进入你编译好的php的ext目录下
4) Uncompress ID3.x into the ext dir.
解压ID3.X 到 ext目录
5) CD into your ID3.X dir.
进入ID3.X 目录
6) Run the following:
执行如下方法编译安装ID3.X
1) phpize (ignore phpize failed error).
2) ./configure
3) make
4) make install
7) Add extension=/SomeDir/SomeDir/php-5.X/ext/id3-0.2/modules/id3.so to your php.ini file.
在php.ini里面加入 extension=/SomeDir/SomeDir/php-5.X/ext/id3-0.2/modules/id3.so(你要先确定你的id3.so在那里)
8) Restart Apache.
从新启动apache
9) Test your installation with a MP3 that has valid ID3 Tags. I suggest that you edit your mp3 file with EasyTag or Kid3 (Preferred. Be sure to convert the tags to version 2.3 from the tools menu).
测试你的安装,你可以用一个有ID3 Tag的MP3。。
6) Run the following:
执行如下方法编译安装ID3.X
1) phpize (ignore phpize failed error).
2) ./configure
3) make
4) make install
是什么意思啊
看不懂啊...
你解压后,在你解压的目录的目录下编译安装,你在你解压的目录下执行:
1) phpize (ignore phpize failed error).
2) ./configure
3) make
4) make install
就行啦