Cannot find phpize

Need help with C, C++, perl, python, etc?

Cannot find phpize

Postby paul.vanharen » 2007-08-23 13:21

I'm doing my first exercises with php5. I would like to load my database with an index of my mp3 songs. Hence, I'm writing a program that recusrses through my mp3 library and tries to grab the ID3 tags from those files.

I've installed the php5, php5-cli and pear modules from Debian. Now I want to use the id3_get_tag() function, which is in a id3 pecl archive. Downloading and building this archive, using "pecl i id3-0.2" gives the following output:
Code: Select all
/tmp/glibctestZmAkW8:1:22: error: features.h: No such file or directory
downloading id3-0.2.tgz ...
Starting to download id3-0.2.tgz (20,693 bytes)
........done: 20,693 bytes
4 source files, building
running: phpize
sh: phpize: command not found
ERROR: `phpize' failed


No matter where I look, I cannot find any phpize application, not on my machine, not on Debian's distribution website.

Can somebody please help me?

Thanks, Paul
paul.vanharen
 
Posts: 3
Joined: 2007-08-23 13:11

Re: Cannot find phpize

Postby lemoicavalier » 2007-08-23 15:42

paul.vanharen wrote:I'm doing my first exercises with php5. I would like to load my database with an index of my mp3 songs. Hence, I'm writing a program that recusrses through my mp3 library and tries to grab the ID3 tags from those files.

I've installed the php5, php5-cli and pear modules from Debian. Now I want to use the id3_get_tag() function, which is in a id3 pecl archive. Downloading and building this archive, using "pecl i id3-0.2" gives the following output:
Code: Select all
/tmp/glibctestZmAkW8:1:22: error: features.h: No such file or directory
downloading id3-0.2.tgz ...
Starting to download id3-0.2.tgz (20,693 bytes)
........done: 20,693 bytes
4 source files, building
running: phpize
sh: phpize: command not found
ERROR: `phpize' failed


No matter where I look, I cannot find any phpize application, not on my machine, not on Debian's distribution website.

Can somebody please help me?

Thanks, Paul


apt-get install php5-devel

Edit:
It may be php-devel only, not sure since it's version 5 (Not in front of my box at the moment)
Debian Sid, Kernel 2.6.23.8, KDE 3.5.8
I have conquered the holy mountain horizontally!
LeMoi, He whose planet is Venus.
User avatar
lemoicavalier
 
Posts: 446
Joined: 2007-07-22 10:58
Location: Plano, Tx. US of A

Postby Guest » 2007-08-23 15:52

apt-get install php5-dev
will install it in /usr/bin/phpize
Guest
 

Postby paul.vanharen » 2007-08-26 08:45

Thanks for the support. This got me going....
paul.vanharen
 
Posts: 3
Joined: 2007-08-23 13:11

Re: Cannot find phpize

Postby wjblack » 2010-01-28 02:03

Yes. Quite helpful indeed. Thanks bunches!
wjblack
 
Posts: 1
Joined: 2010-01-28 02:02

Re: Cannot find phpize

Postby Issyer » 2010-01-29 22:19

paul.vanharen wrote:I'm doing my first exercises with php5. I would like to load my database with an index of my mp3 songs. Hence, I'm writing a program that recusrses through my mp3 library and tries to grab the ID3 tags from those files.

I've installed the php5, php5-cli and pear modules from Debian. Now I want to use the id3_get_tag() function, which is in a id3 pecl archive. Downloading and building this archive, using "pecl i id3-0.2" gives the following output:
Code: Select all
/tmp/glibctestZmAkW8:1:22: error: features.h: No such file or directory
downloading id3-0.2.tgz ...
Starting to download id3-0.2.tgz (20,693 bytes)
........done: 20,693 bytes
4 source files, building
running: phpize
sh: phpize: command not found
ERROR: `phpize' failed


No matter where I look, I cannot find any phpize application, not on my machine, not on Debian's distribution website.

Can somebody please help me?

Thanks, Paul


AFAIK the best thing to do that is with MySQL. Create a table with the column of your MP3 and/or another one with id3 tags or whatever. Then call MySQL within PHP. Tutorial:
http://www.freewebmasterhelp.com/tutorials/phpmysql
User avatar
Issyer
 
Posts: 3055
Joined: 2007-05-23 02:59
Location: Khakassia


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable
cron