Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying unsuccessfully to install id3 from PECL (tutorial). So, I did:

mkdir id3tmp
cd id3tmp
tar -zxvf id3-0.2.tgz
pecl build

And here, I got the error:

error: initializer element is not computable at load time 
error: (near initialization for 'id3_functions[8]')

From google for this error I got very little, nothing significant.

How can I solve this error ? Or, How to successfully install id3 from PECL on Ubuntu ?

share|improve this question

The id3 module was last updated in 2004. The PHP/Zend API has changed several times from that date, so the module cannot be used with most recent PHP.

You can either fix it yourself, ask the author, or hire somebody to do it for you.

However I would suggest to just use some external tool to read/write ID3 tags from PHP using the system/exec/...

share|improve this answer
yes, very old. Now i use: – tasmaniski Apr 4 '13 at 14:04
up vote 0 down vote accepted

The error occurred because I had PHP 5.4 version (bug)

I downgrade my PHP version to 5.3 and now works.

share|improve this answer
There's no bug in PHP 5.4. The references ID3 PECL module is unmaintained and you should not be using it. Who know how many security bugs are in the code... – oerdnj Apr 4 '13 at 17:33
I'm not saying that there was a bug in PHP :) just refer to more info. And yes, No one should use it. – tasmaniski Apr 4 '13 at 18:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.