I have run into this as well.  Of course, the project I am working on is kind of
critical so I couldn't spend time on resolving the issue.

I found that running the COM object through the php-cli prog, I could accomplish
what I needed.  Trying to insert the COM object in the Apache space caused all
kinds of issues.  

As stated, I am not sure why.  

I just call php-cli through exec and created a php file that returns everything
through std-out, and things are going good so far.
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting Ross Fleming <[EMAIL PROTECTED]>:

> Hi, thanks for your reply.  The COM app doesn't even start.  Viewing the
> webpage that only attempts to open and close a COM instance (to winamp
> incidently) simply says "Web page found, waiting for reply" and nothing
> ever
> happens.  Simply trying it against the command line works fine however
> which
> baffles me.  It also puts me in the direction of permissions I'd guess? 
> But
> I've never really used XP/NT/2K before so I'm not sure where to look in
> that
> case.
> 
> I read your answer to Olivier (whose problem appears to be the same as
> mine)
> and as for the user not being able to use COM, for the benefits of testing,
> I was logged in as administrator which makes me doubtful that the cause
> lies
> there?...
> 
> Would appreciate any other advice you might have.
> 
> Cheers
> 
> Ross
> 
> -----Original Message-----
> From: Scott Hurring [mailto:[EMAIL PROTECTED]]
> Sent: 08 July 2002 22:33
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: COM stalls the server..
> 
> 
> Have you been making sure that the COM app. actually
> finishes and cleans up properly on the server
> (i.e. CTL+ALT+DEL process list doesn't show it)?
> 
> I was playing with Excel+COM with PHP 4.2.0 and
> there was a bug with the COM implementation and the
> Excel instance would never terminate.... so after a few
> minutes, there'd be so many open Excel instances that
> the computer would really slow down.
> 
> I'd imagine that on a server, the problem would be
> magnified.
> 
> --
> Scott Hurring
> Systems Programmer
> EAC Corporation
> scott (*) eac.com
> --
> "Ross Fleming" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi again
> >
> > I'm trying a bit of COM programming in PHP but can't for the life of me
> > figure out what's wrong.  I've tried both Winamp (have winampCOM
> installed)
> > and MS Word and it just seems to stall the server whenever I view a page
> > with it.  Can anyone explain why or is there a setting in php.ini I have
> to
> > play with? (I've looked but can't find anything)
> >
> > It seems to work from the command line, but not through a browser.
> >
> > Config:
> > Win XP Pro (administator)
> > Apache 1.3.26
> > PHP 4.2.1
> >
> > Ross
> >
> 
> 
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

----- End forwarded message -----


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to