php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37628 Excel crashes when trying to create COM object
Submitted: 2006-05-29 13:30 UTC Modified: 2006-05-29 15:35 UTC
From: stepanov at transchip dot com Assigned:
Status: Not a bug Package: COM related
PHP Version: 5.1.4 OS: Windows 2003 server
Private report: No CVE-ID: None
 [2006-05-29 13:30 UTC] stepanov at transchip dot com
Description:
------------
When trying to initialize excel COM object excel crashes with error below.

This works with PHP 5.1.2
I getting error only if script execuded by Apache server (Apache/2.0.58)
From command prompt it seems to work

Event Type:	Error
Event Source:	Microsoft Office 11
Event Category:	None
Event ID:	1000
Date:		5/29/2006
Time:		4:09:09 PM
User:		N/A
Computer:	PRODDB
Description:
Faulting application excel.exe, version 11.0.8012.0, stamp 43e2ab74, faulting module mso.dll, version 11.0.6568.0, stamp 42e18ef6, debug? 0, fault address 0x0003446c.

Reproduce code:
---------------
$this->ex = new COM("Excel.Application");

or

$this->ex = new COM("Excel.sheet");

Expected result:
----------------
Expexted to get excel object.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-29 13:41 UTC] tony2001@php.net
Please report bugs in MS products to Mickeysoft.
 [2006-05-29 15:35 UTC] stepanov at transchip dot com
Are you shure this is a bug of MS, or, may be, some improper signal PHP sends to Excel? 
Why this works from command line and don't works from Apache modul?
With such rude replay people will  thisnk, may be it is good idea to move to ASP.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Nov 29 13:05:54 2022 UTC