I am having some difficulty installing the PECL id3 package. I am trying to install with pear install. 5 example files appear in C:\xampp\php\PEAR\docs\id3\examples and 4 files appear in C:\xampp\php\PEAR\data\id3. So it looks like something has been installed, though even after restarting apache and my computer, a simple example file returns an error indicating that it cant find the id3 function.
Here is my cmd prompt:
C:\xampp\php>pear install id3-0.2
No releases available for package "pear.php.net/id3" - package pecl/id3 can be installed with "pecl install id3"
install failed
C:\xampp\php>pecl install id3-0.2
downloading id3-0.2.tgz ...
Starting to download id3-0.2.tgz <20,693 bytes>
........done: 20, 693 bytes
$ source files, building
WARNING: php_bin \xampp\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix does not match
running: msdev id3.dsp \MAKE "id3 - Release"
ERROR: Did not understand the completion status returned from msdev.exe.
Here is the file and the error message:
<?php
$longName = id3_get_frame_long_name("TOLY");
echo $longName;
?>
Fatal error: Call to undefined function id3_get_frame_long_name() in C:\xampp\htdocs\id3trial.php on line 2
Id be thankful for any advice
Thanks,
Mads