ID:               31840
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stefan dot mueller at issp dot cc
-Status:           Open
+Status:           Feedback
 Bug Type:         COM related
 Operating System: Windows 2000 Server/SP4
 PHP Version:      4.3.10
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


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

[2005-02-04 09:04:36] stefan dot mueller at issp dot cc

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

Reply via email to