From:             stefan dot mueller at issp dot cc
Operating system: Windows 2000 Server/SP4
PHP version:      4.3.10
PHP Bug Type:     COM related
Bug description:  COM extensibility appears to hinder code execution

Description:
------------
When instantiating a new COM object PHP produces no output. Reproduce code
given. PHP running with binaries from binary distributions available on
www.php.net; No extensions activated.

Reproduce code:
---------------
<?
        echo "init phase\r\n";

        $rst = new COM("ADODB.Recordset") or die("fail");

        $rst->Open("SELECT * FROM sysdatabases",
                "Data Source=localhost;User Id=sa;Password=sa;" .
                "Provider=SQLOLEDB.1;Initial Catalog=master");
                   

        echo "got my rst successfully";
?>


Expected result:
----------------
Version 4.3.8 placed in the same directory (C:\php\php.exe) wrote this to
the stdout when passing the file to the interpreter via command line
prompt. This is the behaviour I do expect the interpreter to write to
stdout.

<snip>
Content-type: text/html
X-Powered-By: PHP/4.3.8

init phase
got my rst successfully
</snap>

Actual result:
--------------
No output to stdout with 4.3.10. I tried the following:

+ moving php.ini from windir to desktop temporarily
+ replace existing php.ini with php.ini-recommended from 4.3.10 and
reconfigure it
+ explicitly enabling the display of errors (display_errors,
display_startup_errors) through the INI file
+ execute script on Apache2 (configured with the experimental server
module) and check Apaches' error log. --> no new entries after scripts'
execution.


-- 
Edit bug report at http://bugs.php.net/?id=31840&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31840&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31840&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31840&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31840&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31840&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31840&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31840&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31840&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31840&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31840&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31840&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31840&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31840&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31840&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31840&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31840&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31840&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31840&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31840&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31840&r=mysqlcfg

Reply via email to