I have a very simple script calling a COM dll that I registered with regsvr32. Using a browser, the php script crashes. But if I use the command line and type c:\php.exe c:\path to script\script.php then it works fine. It also works fine from the browser if run on other systems with php installed.
I'm using Windows XP Pro with IIS and PHP ver 4.4.0.
I'm guessing it's an issue with the COM object and the account used to call it...? Anyone have any ideas? Thanks.
Script with COM works from command line but no from browser
Moderator: General Moderators
-
marcpeterson
- Forum Newbie
- Posts: 2
- Joined: Wed Aug 24, 2005 2:05 am
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Re: Script with COM works from command line but no from brow
those would be my guess too, the latter more than the former though.marcpeterson wrote:I'm guessing it's an issue with the COM object and the account used to call it...?
-
marcpeterson
- Forum Newbie
- Posts: 2
- Joined: Wed Aug 24, 2005 2:05 am