|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-04 09:13 UTC] derick@php.net
[2005-02-21 19:55 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 17:00:02 2025 UTC |
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.