#19860 [Opn->Bgs]: Calling certain COM Objects causes PHP/Apache to hang

From: Date: Sat, 12 Oct 2002 14:46:48 +0000
Subject: #19860 [Opn->Bgs]: Calling certain COM Objects causes PHP/Apache to hang
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22227@lists.php.net to get a copy of this message
ID: 19860 Updated by: phanto@php.net Reported By: sanka@gxt.net -Status: Open +Status: Bogus Bug Type: COM related Operating System: Windows 2000/SP3 PHP Version: 4.2.3 New Comment: 1.) if apache is running under a different user (system, apache, whatever ...) outlook will run as that user and therefor might run the first time for that user prompting for user input (creating an email account and so on) 2.) doing UI things as a server is not a good thing(tm) because you don't see what's going on if php also hangs when you execute your script from the command line then reopen this report. harald Previous Comments: ------------------------------------------------------------------------ [2002-10-11 05:48:30] sanka@gxt.net When calling certain com objects, like Outlook.Application, or my own custom ones compiled in Visual basic, the webserver (Apache 1.3) will hang, and needs to be restarted. The code used was: <begin block> $myItem = new COM("Outlook.Application")l $myItem = $objApp->CreateItem(olMailItem); $a=$myItem->Recipients->Add("webmaster@here.com"); $myItem->Subject="Subject"; $myItem->Body="This is a Body Section now.....!"; $myItem->Display(); <end block> outlook.exe did load (appeared on the process list). but that is where it stopped. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19860&edit=1

« previous php.bugs (#22227) next »