How to Install PHP_Id3 on Wamp

How to install php_id3 on wamp?

All the information you need is in the official PHP documentation:

The error you get (undefined function) means the ID3 extension is not enabled in your PHP configuration:

  • How to change configuration settings

If you don't have the ID3 extension file (it is probably named php_id3.dll or something similar), you must either find a place to download it, or build it yourself from source.

  • ID3 installation
  • Building on Windows
  • Installation of PECL extensions
  • Installing a PHP extension on Windows
  • Downloading PECL extensions
  • PECL Package ID3
  • Building from source

how to install the ID3 extension on Windows

The manual shows how to install and this extension (and all other standard ones too).

Unfortunately, it is not available as a compiled DLL on Windows. You can compile it if you wish.

unable to install id3 for php - what is the good alternative?

Installing a php module (even if it's as easy as yum install or apt-get install) is limited to what you get from the library. Also, if the ID3 change (like upgrading to a different version) you will have to wait for the library to be updated and re-install it again (unless you want to modify yourself of course).

The PHP library (yes might be a little slower) can be very useful when ID tag are upgraded or modified. You can easily change the PHP code to match what you need and rapidly be able to mange your music library.

I've tried many libraries and I recommend http://getid3.sourceforge.net/

PHP Get metadata of remote .mp3 file (from URL)

As you haven't mentioned your error I am considering a common error case undefined function

The error you get (undefined function) means the ID3 extension is not enabled in your PHP configuration:

If you dont have Id3 extension file .Just check here for installation info.



Related Topics



Leave a reply



Submit