ID:               46971
 Updated by:       [email protected]
 Reported By:      RQuadling at GMail dot com
 Status:           Open
 Bug Type:         Unknown/Other Function
 Operating System: Windows XP Pro SP3
 PHP Version:      5.3CVS-2008-12-30 (snap)
-Assigned To:      
+Assigned To:      pajoye
 New Comment:

fileinfo should be present in the next snapshots.

Sybase is not possible for now and will take some time until we have an
updated SDK in place.

ntwdblib is not available anymore for VC9 and can't be used for mssql
or pdo_mssql.


Previous Comments:
------------------------------------------------------------------------

[2008-12-30 12:05:55] RQuadling at GMail dot com

Description:
------------
Hi.

I was playing with the 5.3.0alpha4-dev VC9 snapshots and wanted to 
take a look at the fileinfo extension.

I noticed that the following extensions are NOT present in the VC9 TS 
build:

php_fileinfo
php_mssql
php_pdo_mssql
php_sybase_ct

These are present in the 5.3.0alpha4-dev VC6 TS build.


If I use VC6 TS build, the extension works fine.

Reproduce code:
---------------
php -n -d extension_dir=.\ext -d extension=php_fileinfo.dll -r "$finfo
= finfo_open(FILEINFO_NONE); echo getcwd(), PHP_EOL, finfo_file($finfo,
'./php.exe');"

Expected result:
----------------
D:\Personal Files\Downloads\Software\Programming\PHP\Latest 
Snapshots\php-5.3-win32-VC6-x86-latest
PE32 executable for MS Windows (console) Intel 80386 32-bit

and

D:\Personal Files\Downloads\Software\Programming\PHP\Latest 
Snapshots\php-5.3-win32-VC9-x86-latest
PE32 executable for MS Windows (console) Intel 80386 32-bit




Actual result:
--------------
D:\Personal Files\Downloads\Software\Programming\PHP\Latest 
Snapshots\php-5.3-win32-VC6-x86-latest
PE32 executable for MS Windows (console) Intel 80386 32-bit

and

PHP Warning:  PHP Startup: Unable to load dynamic library 
'.\ext\php_fileinfo.dll' - The specified module could not be found.
 in Unknown on line 0

Fatal error: Call to undefined function finfo_open() in Command line 
code on line 1






------------------------------------------------------------------------


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

Reply via email to