#49878 [Com]: Fileinfo functions not found

2009-12-16 Thread rob at apgood dot com
 ID:   49878
 Comment by:   rob at apgood dot com
 Reported By:  rob at apgood dot com
 Status:   No Feedback
 Bug Type: PHP options/info functions
 Operating System: Windows Serer 2003
 PHP Version:  5.3SVN-2009-10-14 (snap)
 New Comment:

in php.ini:
extension_dir = C:\Program Files\PHP\ext
extension=php_fileinfo.dll

dependencies:
C:\Program Files\PHP\ext\php_fileinfo.dll (exists)

?php
if(!extension_loaded('fileinfo')) {
die(fileinfo extension is not avaliable, please compile it.\n);
?

output:
fileinfo extension is not avaliable, please compile it.


Previous Comments:


[2009-10-22 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2009-10-14 17:10:22] paj...@php.net

Did you activate the extension via php.ini (see phpinfo();)?



[2009-10-14 17:08:37] rob at apgood dot com

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 this bug report at http://bugs.php.net/?id=49878edit=1



#49878 [Bgs-Opn]: Fileinfo functions not found

2009-12-16 Thread rob at apgood dot com
 ID:   49878
 User updated by:  rob at apgood dot com
 Reported By:  rob at apgood dot com
-Status:   Bogus
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Windows Serer 2003
 PHP Version:  5.3SVN-2009-10-14 (snap)
 New Comment:

Sorry for the long delay.  I rolled back to a prior version that
supported mime_content_type().  Now, new functionality requires that I
use 5.3 (this same function fails on 5.2, as well).  I searched the
database and web and found similar descriptions, but none of the fixes
I discovered worked for me.  I stepped up to 5.3.2-dev (which has the
php_fileinfo.dll as part of the package), and it did not work, either.


Previous Comments:


[2009-12-16 19:39:26] paj...@php.net

set the extension_dir correctly and use extension=php_fileinfo.dll.

Not a bug  bogus.



[2009-12-16 19:34:11] rob at apgood dot com

in php.ini:
extension_dir = C:\Program Files\PHP\ext
extension=php_fileinfo.dll

dependencies:
C:\Program Files\PHP\ext\php_fileinfo.dll (exists)

?php
if(!extension_loaded('fileinfo')) {
die(fileinfo extension is not avaliable, please compile it.\n);
?

output:
fileinfo extension is not avaliable, please compile it.



[2009-10-22 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2009-10-14 17:10:22] paj...@php.net

Did you activate the extension via php.ini (see phpinfo();)?



[2009-10-14 17:08:37] rob at apgood dot com

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 this bug report at http://bugs.php.net/?id=49878edit=1



#49878 [Opn]: Fileinfo functions not found

2009-12-16 Thread rob at apgood dot com
 ID:   49878
 User updated by:  rob at apgood dot com
 Reported By:  rob at apgood dot com
 Status:   Open
 Bug Type: PHP options/info functions
 Operating System: Windows Serer 2003
 PHP Version:  5.3SVN-2009-10-14 (snap)
 New Comment:

set the extension_dir to ext and to the fully-qualified path.  same
result.


Previous Comments:


[2009-12-16 19:40:01] rob at apgood dot com

Sorry for the long delay.  I rolled back to a prior version that
supported mime_content_type().  Now, new functionality requires that I
use 5.3 (this same function fails on 5.2, as well).  I searched the
database and web and found similar descriptions, but none of the fixes
I discovered worked for me.  I stepped up to 5.3.2-dev (which has the
php_fileinfo.dll as part of the package), and it did not work, either.



[2009-12-16 19:39:26] paj...@php.net

set the extension_dir correctly and use extension=php_fileinfo.dll.

Not a bug  bogus.



[2009-12-16 19:34:11] rob at apgood dot com

in php.ini:
extension_dir = C:\Program Files\PHP\ext
extension=php_fileinfo.dll

dependencies:
C:\Program Files\PHP\ext\php_fileinfo.dll (exists)

?php
if(!extension_loaded('fileinfo')) {
die(fileinfo extension is not avaliable, please compile it.\n);
?

output:
fileinfo extension is not avaliable, please compile it.



[2009-10-22 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2009-10-14 17:10:22] paj...@php.net

Did you activate the extension via php.ini (see phpinfo();)?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/49878

-- 
Edit this bug report at http://bugs.php.net/?id=49878edit=1



#49878 [NEW]: Fileinfo functions not found

2009-10-14 Thread rob at apgood dot com
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=49878edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=49878r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=49878r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=49878r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=49878r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49878r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=49878r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=49878r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=49878r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=49878r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=49878r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=49878r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=49878r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=49878r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=49878r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=49878r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=49878r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=49878r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=49878r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=49878r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=49878r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=49878r=mysqlcfg