From: rob at apgood dot com Operating system: Windows Serer 2003 PHP version: 5.3SVN-2009-10-14 (snap) PHP Bug Type: PHP options/info functions Bug description: Fileinfo functions not found
Description: ------------ Installed Windows binaries (php-5.3.0-Win32-VC6-x86.msi) with Fileinfo functions selected to be installed. However, the very simple attached script results in error: [Wed Oct 14 09:43:58 2009] [error] [client 173.10.71.237] PHP Fatal error: Call to undefined function finfo_open() in D:\\Apache\\casetracker\\finfo1.php on line 2 Reproduce code: --------------- <?php $finfo = finfo_open(FILEINFO_MIME_TYPE); // return mime type ala mimetype extension echo(finfo_file($finfo, 'favicon.ico')); finfo_close($finfo); ?> Expected result: ---------------- a mime-type description of: "image/vnd.microsoft.icon" or (less correctly): "image/x-icon" Actual result: -------------- in error.log, [Wed Oct 14 09:43:58 2009] [error] [client 173.10.71.237] PHP Fatal error: Call to undefined function finfo_open() in D:\\Apache\\casetracker\\finfo1.php on line 2 -- Edit bug report at http://bugs.php.net/?id=49878&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49878&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49878&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49878&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49878&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49878&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49878&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49878&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49878&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49878&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49878&r=support Expected behavior: http://bugs.php.net/fix.php?id=49878&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49878&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49878&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49878&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49878&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49878&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49878&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49878&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49878&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49878&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49878&r=mysqlcfg
